in reply to Re: Yet Another CGI File Upload Question
in thread Yet Another CGI File Upload Question
You can only really call new() once with either CGI.pm or CGI::Simple.pm and probably all the rest of the CGI:: modules.
REASON: You have to parse the query string with a GET (you can do this over and over) BUT with POST you are reading from STDIN - once you read the data it is GONE so your new objects will exist OK, but they will have no data in them if it was a POST as STDIN will be NULL after the first instantiation.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|