You need to use enctype="multipart/form-data" on your form. Files can't be sent using the default encoding, application/x-www-form-urlencoded
contrary to the CPAN documentation, this does not have a path attached.
I don't know where you see that. For at least five years, CGI has been saying:
Different browsers will return slightly different things for the name. Some browsers return the filename only. Others return the full path to the file, using the path conventions of the user's machine. Regardless, the name returned is always the name of the file on the user's machine, and is unrelated to the name of the temporary file that CGI.pm creates during upload spooling (see below).
In reply to Re: uploading via CGI
by ikegami
in thread uploading via CGI [SOLVED]
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |