note 101648 added to function.move-uploaded-file
| From: | jsimon at redventures dot com | Date: | Sun, 02 Jan 2011 05:41:41 +0000 |
| Subject: | note 101648 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175388@lists.php.net to get a copy of this message | ||
Because of the way in which move_uploaded_file works, it can be difficult to debug without the
proper error settings. If you are noticing that move_uploaded_file is not doing what you're
expecting, and you are only getting a return value of false, try setting the error reporting at the
top of your script.
error_reporting(E_ALL);
ini_set("display_errors", 1);
This will ensure you are receiving any notices or warnings that you were missing before.
----
Server IP: 69.147.83.197
Probable Submitter: 63.111.50.30
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/101648
Del: integrated -- https://master.php.net/note/delete/101648/integrated
Del: useless -- https://master.php.net/note/delete/101648/useless
Del: bad code -- https://master.php.net/note/delete/101648/bad+code
Del: spam -- https://master.php.net/note/delete/101648/spam
Del: non-english -- https://master.php.net/note/delete/101648/non-english
Del: in docs -- https://master.php.net/note/delete/101648/in+docs
Del: other reasons-- https://master.php.net/note/delete/101648
Reject -- https://master.php.net/note/reject/101648
Search -- https://master.php.net/manage/user-notes.php