Re: [PHP] Upload is still not working ( More tesitngs)

2004-11-22 Thread Michael Leung
Hi Everyone, I found some people stated this kind of error , because phpSUExec max allows 755. But I have changed my upload_files directory into owned by apache. it should solved the problem based on this logic. but it won't work at all. Does Any one have an idea on this yours, Michael Leung

Re: [PHP] Upload is still not working ( More tesitngs)

2004-11-21 Thread Raditha Dissanayake
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: Permissio

[PHP] Upload is still not working ( More tesitngs)

2004-11-21 Thread Michael Leung
Hi All, I did more testes I have added the followings code into my script error_reporting(E_ALL); ini_set('display_errors', TRUE); if (is_readable($_FILES['userfile']['tmp_name'])) { echo "I can read " . $_FILES['userfile']['tmp_name']; } if ($fp0 = fopen('upload_files/do