note 39796 added to features.file-upload

From: Date: Wed, 11 Feb 2004 01:37:31 +0000
Subject: note 39796 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-64984@lists.php.net to get a copy of this message
From the manual: If no file is selected for upload in your form, PHP will return $_FILES['userfile']['size'] as 0, and $_FILES['userfile']['tmp_name'] as none. As of PHP 4.2.0, the "none" is no longer a reliable determinant of no file uploaded. It's documented if you click on the "error codes" link, but you need to look at the $_FILES['your_file']['error']. If it's 4, then no file was selected. ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39796 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39796&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39796&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64984) next »