Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: CGI File Upload

by BrowserUk (Patriarch)
on Sep 09, 2002 at 02:45 UTC ( [id://196137]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI File Upload
in thread CGI File Upload

Try changing line 27 (which by my count is while(<$upload_filehandle) to while(<UPLOADFILE>) and see if that helps any?


Well It's better than the Abottoire, but Yorkshire!

Replies are listed 'Best First'.
Re^3: CGI File Upload
by blm (Hermit) on Jan 15, 2006 at 12:32 UTC

    Sorry BrowserUK! Only just saw this post. I don't think that is the problem

    while <$upload_filehandle>
    is supposed to read the input. It is initialised with
    my $upload_filehandle = $query->upload("myfilename");
    On the otherhand,
    UPLOADFILE
    is supposed to be the output of the script: a copy of the uploaded file on the hard disk. I agree that the naming of my filehandles could have been much better

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://196137]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found