note 105640 added to reserved.variables.files

From: Date: Fri, 02 Sep 2011 20:31:26 +0000
Subject: note 105640 added to reserved.variables.files
Groups: php.notes 
Request: Send a blank email to php-notes+get-182912@lists.php.net to get a copy of this message
In checking the error code, you probably ought to check for code 4. I believe Code 4 means no file was uploaded, and there are many instances where that's perfectly OK. Such as when you have a form with multiple data items, including file and image uploads, plus whatever else. The user might not be adding a new upload for whatever reason, such as there may already be a file in the system from an earlier update, and the user is satisfied with that. ---- Server IP: 69.147.83.197 Probable Submitter: 71.165.35.183 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.files.php Edit -- https://master.php.net/note/edit/105640 Del: integrated -- https://master.php.net/note/delete/105640/integrated Del: useless -- https://master.php.net/note/delete/105640/useless Del: bad code -- https://master.php.net/note/delete/105640/bad+code Del: spam -- https://master.php.net/note/delete/105640/spam Del: non-english -- https://master.php.net/note/delete/105640/non-english Del: in docs -- https://master.php.net/note/delete/105640/in+docs Del: other reasons-- https://master.php.net/note/delete/105640 Reject -- https://master.php.net/note/reject/105640 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182912) next »