note 21200 deleted from features.file-upload by vincent

From: Date: Thu, 11 Sep 2003 12:02:51 +0000
Subject: note 21200 deleted from features.file-upload by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56094@lists.php.net to get a copy of this message
Note Submitter: mjm@porter.appstate.edu ---- To check to see if a file was actually uploaded, it is safer to check the value of ($_FILES["name"]["size"] > 0) than to check (!empty($_FILES["name"]["tmp_name"])) beacuse some versions of PHP will store 'none' in $_FILES["name"]["tmp_name"] while others will leave it empty in the case od a missing file.

« previous php.notes (#56094) next »