There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
hm ok..
but thats not new to me.. the code i show you is only part of an package. the cgi object lies in the main. for that itīs not a scoping issue. my $filename = $q->param('upload_file'); gives exactly the filename of the uploaded file. but not full qualified. here you are right: $CGI::DISABLE_UPLOADS $main::q is initialised in the main with our $q = new cgi; but the attribute should set like thanks for the pointer. like Eliya said: 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..?! sorry 4 my worse diction..
$perlig =~ s/pec/cep/g if 'errors expected';
In reply to Re^2: @CGI $q->upload() doesnt work properly
by AlexTape
|
|