Move_uploaded_file()
| From: | Info@Best-IT | Date: | Tue, 17 Aug 2004 01:38:44 +0000 |
| Subject: | Move_uploaded_file() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194024@lists.php.net to get a copy of this message | ||
Warning: move_uploaded_file([absolute_path¹]/file.csv): failed to open
stream: Permission denied in [absolute_path¹]/file.csv on line 83
Warning: move_uploaded_file(): Unable to move '/tmp/phpXT5j85' to
'[absolute_path¹]/file.csv' in [absolute_path¹]/file.csv on line 83
I get the above errors when uploading a file with move_uploaded_file. For
some reason PHP is not able to move the file from the /tmp directory (which
I have tried to make wide open and changed it back because it didn¹t work)
to [absolute_path¹]/file.csv.
If PHP uploads the file it should be able to move the file. Besides my PHP
user is set to root for the time being. Anyone have any ideas?
/t