note 58540 added to function.move-uploaded-file

From: Date: Mon, 07 Nov 2005 20:44:29 +0000
Subject: note 58540 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-98211@lists.php.net to get a copy of this message
move_uploaded_file()'s return codes are not allways obious ! Unable to move '/var/tmp/phpuuAVJv' to '/home/me/website.com/upload/images/hello.png' will apear if your disk is full, or the webserver (www user) exeeded it's disk qouta. (probably some others) i dont know if its a bug (just not iplemented) or a feature (to hide from 3rd parties details about the system or about the specific error) ? it happend to me that after several months of successful operation, the disk filled up and qouta exeeded. it took me long time, finding out why all the sudden my scripts didnt work properly anymore. ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58540 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58540&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58540&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#98211) next »