note 20148 added to features.file-upload
| From: | aralNO_SPAM at aralbalkanNO_SPAM dot com | Date: | Sun, 24 Mar 2002 17:38:34 +0000 |
| Subject: | note 20148 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28145@lists.php.net to get a copy of this message | ||
As wodokm@in.tum.de mentioned above, including enctype="multipart/form-data" as an
attribute in your <form> tag is very important for file uploads. If it's missing the
symptom will be that the file_name, file_size and file_type variables will not be populated. If
you're getting empty vars for these, check that you have the enctype set.
--
http://www.php.net/manual/en/features.file-upload.php
http://master.php.net/manage/user-notes.php?action=edit+20148
http://master.php.net/manage/user-notes.php?action=delete+20148
http://master.php.net/manage/user-notes.php?action=reject+20148