Re: Upload is still not working
| From: | Burhan Khalid | Date: | Tue, 23 Nov 2004 12:45:02 +0000 |
| Subject: | Re: Upload is still not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202719@lists.php.net to get a copy of this message | ||
Michael Leung wrote:
Hi Jason, Thank you for your help. This is the output from PHP script: "upload_files is valid a directoryI am able to write to upload_files Warning: move_uploaded_file(upload_files/Water lilies.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/html/simple_upload.php on line 58 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpHuSGRK' to 'upload_files/Water lilies.jpg' in /var/www/html/simple_upload.php on line 58" Well, this shows upload_files is writeable. Therefore, it should not be any error in permission setting issues.Could it be the space in the filename? -- Burhan Khalid