note 35267 deleted from features.file-upload by betz
| From: | betz@php.net | Date: | Tue, 26 Aug 2003 07:43:32 +0000 |
| Subject: | note 35267 deleted from features.file-upload by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55077@lists.php.net to get a copy of this message | ||
Note Submitter: rachel at illogicalart dot net
----
A PHP newbie like myself would do well to remember that the form you use to upload a file should
have the encoding type defined.
<form method="post" action="page.php"
enctype="multipart/form-data">
A form that *only* has input types of file or hidden (like in the example) seems to work without the
enctype specified..but when you add a file input to a form that already has radio buttons and text
fields and all that fun stuff the uploader breaks. So remember to specify multipart/form-data!