note 95084 added to function.move-uploaded-file
| From: | wyverald at gmail dot com | Date: | Sat, 12 Dec 2009 17:27:26 +0000 |
| Subject: | note 95084 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163883@lists.php.net to get a copy of this message | ||
Another note concerning the following 2 warnings:
-
Warning: move_uploaded_file(/dest/inat/ion.ext) [function.move-uploaded-file]: failed to open
stream: No such file or directory in /upload/handler.php on line X
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'/temp/file/name' to '/dest/inat/ion.ext' in /upload/handler.php on line X
-
You would think that something is wrong about '/temp/file/name'... while actually, the
real cause could be that the directory '/dest/inat' does not exist. Create this directory
and the problem will likely get fixed.
Hope this helps.
----
Server IP: 192.41.40.227
Probable Submitter: 66.160.128.42
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/95084
Del: integrated -- https://master.php.net/note/delete/95084/integrated
Del: useless -- https://master.php.net/note/delete/95084/useless
Del: bad code -- https://master.php.net/note/delete/95084/bad+code
Del: spam -- https://master.php.net/note/delete/95084/spam
Del: non-english -- https://master.php.net/note/delete/95084/non-english
Del: in docs -- https://master.php.net/note/delete/95084/in+docs
Del: other reasons-- https://master.php.net/note/delete/95084
Reject -- https://master.php.net/note/reject/95084
Search -- https://master.php.net/manage/user-notes.php