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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo