Bob,
Thanks. That was the issue.
Sean
On Jul 27, 2004, at 1:31 PM, Bob Showalter wrote:
Sean Davis wrote:
I am trying to write a toy script that will ask for an upload file and
then echo that file back to the user on the browser. However, if I do
this all in one script like the following, I get no echoed file.
However, if I instead use a separate HTML form and submit to my
script, it works fine. Here is the script and the HTML submission
form. I would like to use just the script. Can anyone tell me why
the script does not work by itself?
...
print $q->start_form();
This needs to be $q->start_multipart_form, as per the CGI docs.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>