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:
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_uploaded_file($temp_name,
5 matches
Mail list logo