Re: [PHP] Upload is still not working

2004-11-23 Thread Michael Leung
Hi, I have tested this with file no space on its filename yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload is still not working

2004-11-23 Thread Burhan Khalid
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 /va

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

Re: [PHP] Upload is still not working

2004-11-21 Thread Jason Wong
On Monday 22 November 2004 14:01, Michael Leung wrote: Please do not top post. > 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-uploa

Re: [PHP] Upload is still not working

2004-11-21 Thread Michael Leung
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_upl

Re: [PHP] Upload is still not working

2004-11-21 Thread Jason Wong
On Monday 22 November 2004 12:14, Michael Leung wrote: > I have some problems for upload file script. The script generated a > lot of permission denied error msg. I have changed the upload dir and > its parent dir into 777. I am quite sure I did the permission settings > right. > > I have attach

Re: [PHP] Upload is still not working

2004-11-21 Thread Jason Wong
On Monday 22 November 2004 11:25, Michael Leung wrote: Please do not top post. > I have already checked all parent dir are in 777 too. > But this is not working Post some *concise* code that illustrates your problem. Post the full error message(s) that you get. -- Jason Wong -> Gremlins

[PHP] Upload is still not working

2004-11-21 Thread Michael Leung
Hi all, I have some problems for upload file script. The script generated a lot of permission denied error msg. I have changed the upload dir and its parent dir into 777. I am quite sure I did the permission settings right. I have attached the error msg and my testing source code with this email

[PHP] Upload is still not working

2004-11-21 Thread Michael Leung
Hi all, I have already checked all parent dir are in 777 too. But this is not working Anyone can help me? yours, Michael On Monday 22 November 2004 10:56, Michael Leung wrote: >I am implementing a upload file PHP program. The script is not > working. it keeps on generating the permiss