note 11308 modified in Handling file uploads by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 15 Feb 2001 17:54:54 +0000 |
| Subject: | note 11308 modified in Handling file uploads by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11109@lists.php.net to get a copy of this message | ||
FYI:
When you use "multipart/form-data" for "post" encoding to upload files. You will
have problem with Netscape6 (different problem with older version, too) as follows.
1) User posts form (w/o selecting a file to upload).
2) User decides to go back to previous page with browser's "back" button.
3) Netscape6 will not send valid post data and connection will timeout.
This happens only with "multipart/form-data" is used for the form, and when user did not
specify a file to upload. If user specifies the file to upload, it works w/o problems.
I posted this information because I wasted hours to figure out what's wrong. Hope this info
saves someone's time.
http://www.php.net/manual/handling-file-uploads.php