note 19168 added to features.file-upload

From: Date: Mon, 18 Feb 2002 16:55:19 +0000
Subject: note 19168 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-26750@lists.php.net to get a copy of this message
The enctype="multipart/form-data" part in the <form ...> field is very important, if you forget it you won't get the $userfile, $userfile_name, $userfile_size, $userfile_type veriables set (correctly). So if you're adding a File Input Field in a form, don't forget to add the above part (I did it and wondered why the vars were not set correctly). -- http://www.php.net/manual/en/features.file-upload.php http://master.php.net/manage/user-notes.php?action=edit+19168 http://master.php.net/manage/user-notes.php?action=delete+19168 http://master.php.net/manage/user-notes.php?action=reject+19168

« previous php.notes (#26750) next »