Hi Scott,
Thank you for your help, but I have tried to user chown -r
apache:apache upload_files.
this is not working.
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>> Hi all,
>>I am still solving my upload script problems.
>> Here is the error Msg:
>> "Warning: copy(/var/www/html/upload_files/Default.bk1)
>> [function.copy]: failed to open stream: Permission denied in
>> /var/www/html/simple_upload.php on line 77"
>>
>> My Upload Code:
>> $result = move
The directory folder where you upload the file(s) and folder(s) inito must
have the ownership of Apache and the permission of 755. Then you'll have no
trouble uploading file(s)/folder(s) into it since Apache would have the
permission to create the file(s)/folder(s) where none exist or update them
You could try chown user:group, where user and group are those apache
runs in.
Is this script running on your own machine, or on a web server hosted
somewhere?
On 1 Dec 2004, at 09:03, Michael Leung wrote:
Hi all,
I am still solving my upload script problems.
Here is the error Msg:
"Warning:
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 permission Error.
> I am not very sure this is PHP or Apache problem. But one things I can
> sure I changed all upload file dir in 777.
5 matches
Mail list logo