[PHP] Uploading and directory permissions

2004-05-10 Thread Mario
Hi all For few years now I've been creating custom CMSs and I've been having an images folder with permissions 777 so the PHP script can upload images through the CMS. You can imagine what the problem is... although I never had someone deleting images (low profile sites usually), couple of days

Re: [PHP] Uploading and directory permissions

2004-05-10 Thread James E Hicks III
On Monday 10 May 2004 05:20 am, Mario wrote: Anyways I was wondering if there is a way to upload through PHP without having write permission to all. Is there a way maybe, for the script, to change permission to write before the upload and then take it off? or anything else I can do to protect

RE: [PHP] Uploading and directory permissions

2004-05-10 Thread Jay Blanchard
[snip] For few years now I've been creating custom CMSs and I've been having an images folder with permissions 777 so the PHP script can upload images through the CMS. ... Anyways I was wondering if there is a way to upload through PHP without having write permission to all. Is there a way maybe,

Re: [PHP] Uploading and directory permissions

2004-05-10 Thread Mario
for the owner (another problem there since I can't download (through FTP) the images I uploaded through PHP. Mario - Original Message - From: James E Hicks III [EMAIL PROTECTED] To: Mario [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, May 10, 2004 3:56 PM Subject: Re: [PHP] Uploading