in reply to Cannot open files using CGI
this prepares the browser for possible incoming binary data, aka a file upload. Without it you will get the name of the file but its contents will not get passed to your script. The documentation from CGI regarding file uploads can be found here. Once you have that follow the documentation on how to handle the incoming file and you should be golden.<form enctype="multipart/form-data">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cannot open files using CGI
by MonkPaul (Friar) on May 28, 2005 at 21:30 UTC |