note 78454 added to function.move-uploaded-file

From: Date: Fri, 12 Oct 2007 15:26:44 +0000
Subject: note 78454 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-131345@lists.php.net to get a copy of this message
Hey guys. I've run into a brick wall here. It appears as if the file I'm uploading don't stick around in the tmp directory long enough to be moved. These are some samples of the errors I get (with some censoring); Warning: move_uploaded_file(C:\www\bifogat\xxxxxxxxxx_elit-meriter_14.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\www\ansokningar\action_elit.php on line 122 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\www\ansokningar\tmp_upload\php156.tmp' to 'C:\www\bifogat\8111218932_elit-meriter_14.txt' in C:\www\ansokningar\action_elit.php on line 122 But when I pick an extra large file and try to upload, then check the server, I can see the tmp file forming. Once it completes, it's removed though, without being moved to the proper directory. Any ideas? As is obvious by the above I've tried to change the tmp directory, didn't help. ---- Server IP: 212.63.193.10 Probable Submitter: 213.113.123.113 ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- https://master.php.net/note/edit/78454 Del: integrated -- https://master.php.net/note/delete/78454/integrated Del: useless -- https://master.php.net/note/delete/78454/useless Del: bad code -- https://master.php.net/note/delete/78454/bad+code Del: spam -- https://master.php.net/note/delete/78454/spam Del: non-english -- https://master.php.net/note/delete/78454/non-english Del: in docs -- https://master.php.net/note/delete/78454/in+docs Del: other reasons-- https://master.php.net/note/delete/78454 Reject -- https://master.php.net/note/reject/78454 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131345) next »