in reply to Re: @CGI $q->upload() doesnt work properly
in thread @CGI $q->upload() doesnt work properly
thanks for the pointer.use CGI qw/:standard/; use CGI::Carp 'fatalsToBrowser'; $CGI::POST_MAX=1024 * 100; # max 100K posts $CGI::DISABLE_UPLOADS = 1; # no uploads
thats still my code. but the filehandle is empty. thats what i want to fix. i want to know what this function do:$q->upload('upload_file'); because it might be that there is a problem with fetching the data from the client..?!my $filename = $q->param('upload_file'); # returns (client-side) +name of the file my $filehandle = $q->upload('upload_file'); # returns handle to the +server-side temp file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: @CGI $q->upload() doesnt work properly
by Anonymous Monk on Mar 09, 2012 at 12:55 UTC | |
by AlexTape (Monk) on Mar 09, 2012 at 13:31 UTC |