RE: [PHP-DB] COPY files = Warning permission denyed
| From: | Rubanowicz, Lisa | Date: | Fri, 09 Nov 2001 16:05:38 +0000 |
| Subject: | RE: [PHP-DB] COPY files = Warning permission denyed | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14192@lists.php.net to get a copy of this message | ||
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
777
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
Lisa
-----Original Message-----
From: Ivo [mailto:hladilnik_bg@yahoo.com]
Sent: Friday, November 09, 2001 4:53 PM
To: php-db@lists.php.net
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: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net