|We don't bite newbies here... much|
Re^2: @CGI $q->upload() doesnt work properlyby AlexTape (Monk)
|on Mar 09, 2012 at 11:39 UTC||Need Help??|
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:
$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';