Hi, Not sure if the cause of this is Embperl or CGI. If I have an ordinary bog-standard form on a web-page (post or get) and submit it, the resulting %fdat will *not* have entries for empty/unset input elements.
If I change the form to a multipart post form, the empty elements now appear in fdat (albeit undefined). If I change it to a multipart get form, the elements disappear from fdat again. Try: <html> <head> </head> <body> [+ do {use Data::Dumper; Dumper(\%fdat)} +] <form method="post" action=""> <input name="test1"><br> <input type="file" size="20" name="UPLOAD_FILE" accept="*.csv"><br> <input type="submit" name="submit" value="Go!"> </form> </body> </html> and change method from post to get. Is there a reason for this/way round it ? Thanks Matt Freake _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]