Hi ,
I had this problem too so...
Say it is your pics directory that you want to upload to, I use Leech FTP
for my uploads, right click on the pics directory goto Set Attributes and
set it to 777.  This is not very good practice, but since I don't have the
sites live it does'nt matter too much yet.  Mess around with the attributes
so it works but with the tightest security.
You can also do this is UNIX with the chmod command - full access is chmod
In your code insure that you don't let them upload anything other than .jpg
or .gif
If anyone has any problems with these UNIX settings, please let me know how
I can go about fixing it, but so the uploads will still work..
All the Best

-----Original Message-----
From: Ivo [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 4:53 PM
Subject: [PHP-DB] COPY files = Warning permission denyed

When I try to copy some files from my local PC to the server there  appears
a message "
Warning: Unable to create '/xxx.gif': Permission denied in /xxx.php3" on
line xx

Where should I search the problem. In the apache server, php or linux.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to