Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Script for uploading files to a server
October 23, 2008, 6:16 pm
rate this thread
I use the following script for saving the uploaded file to the server.
It is basically driving me mad!
($q is initialised before)
my $sourceFilePath = $q->param('pdf');
my $fileHandle = $q->upload('pdf');
open (OUT, ">test.pdf") or die "$!";
What is the basic problem - $fileHandle seems to be empty while
$sourceFilePath holds the correct filename! I am stuck with this
problem for some time now :/
I have the current version of the CGI module.
Thank you in advance!
- » Fine tuning appearance of charts produced by Chart::Lines: is it possible?
- — Previous thread in » PERL Discussions