note 64359 added to function.move-uploaded-file

From: Date: Thu, 13 Apr 2006 01:32:57 +0000
Subject: note 64359 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-107935@lists.php.net to get a copy of this message
I've been having issues with handling uploads on a Fedora Core 4 server. The error I get when I call move_uploaded_file is: Warning: move_uploaded_file(/home/admin/www/admin/mail/1144878792.txt) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/admin/www/admin/mail.php on line 55 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpnGnNip' to '/home/admin/www/admin/mail/1144878792.txt' in /home/admin/www/admin/mail.php on line 55 I tried chmodding /tmp/ but to no avail. The warning disappears but the file is not moved. /home/admin/www/admin/mail/ has proper permissions as well. Any ideas? ---- Server IP: 216.194.113.175 Probable Submitter: 129.21.40.228 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- http://master.php.net/note/edit/64359 Del: integrated -- http://master.php.net/note/delete/64359/integrated Del: useless -- http://master.php.net/note/delete/64359/useless Del: bad code -- http://master.php.net/note/delete/64359/bad+code Del: spam -- http://master.php.net/note/delete/64359/spam Del: non-english -- http://master.php.net/note/delete/64359/non-english Del: in docs -- http://master.php.net/note/delete/64359/in+docs Del: other reasons-- http://master.php.net/note/delete/64359 Reject -- http://master.php.net/note/reject/64359 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107935) next »