Re: Upload is still not working ( More tesitngs)

From: Date: Mon, 22 Nov 2004 07:01:08 +0000
Subject: Re: Upload is still not working ( More tesitngs)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202650@lists.php.net to get a copy of this message
Michael Leung wrote:
My Error Msg: I can read /tmp/phphRiKeP Warning: fopen(upload_files/doodah) [function.fopen]: failed to open stream: Permission denied in /var/www/html/simple_upload.php on line 18 Warning: fopen(upload_files/Water lilies.jpg) [function.fopen]: failed to open stream: Permission denied in /var/www/html/simple_upload.php on line 22 upload_files is valid a directoryI am able to write to upload_files This is very strange. upload_files is writeable, but can't write by fopen('upload_files/doodah', 'w') Nothing strange about that it may be writable by the owner but not by others. Besides that as jason as already pointed out you may be running in safe mode. Other than that, the file upload page on php.net has a wealth of information posted by others like you who had trouble with their uploads, you are sure to find a usefull comment there.
-- Raditha Dissanayake http://www.radinks.com/upload/ - Drag and Drop File Upload >yours, >Michael Leung > > >

« previous php.general (#202650) next »