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 I<user's> machine, and is unrelated to the name of the temporary file that CGI.pm creates during upload spooling (see below).You don't need to know the directory in your cgi because (if you do everything right) the file contents are transmitted to your .cgi along with any other fields in the form when the users does the form submit. The server does not open a separate connection back to the web browser to get the file.
In reply to RE: grabbing text
by lhoward
in thread grabbing text
by jntn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |