note 64359 rejected from function.move-uploaded-file by bjori
| From: | bjori@php.net | Date: | Thu, 13 Apr 2006 01:43:29 +0000 |
| Subject: | note 64359 rejected from function.move-uploaded-file by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-107938@lists.php.net to get a copy of this message | ||
Note Submitter: cabwww at rit dot edu
----
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?