Re: [PHP] directories - again
- From: ceo@xxxxxxxxx ("Richard Lynch")
- Date: Sat, 9 Jun 2007 17:36:54 -0500 (CDT)
If 'nobody' owns those files because your PHP script was 'nobody' when
it uploaded it, write another PHP script, running as 'nobody' to chmod
the files.
On Thu, June 7, 2007 2:46 am, Ross wrote:
Hi,
I can make the files now after setting the permission to my images
folder
but I cannot delete the folder or images in it. I have tried unlink
and
rmdir with no success. Even with filezilla cannot delete it
The problem seems to be the images that are set to chmod of 600 and
cannot
be changed. I upload the file with this
move_uploaded_file($_FILES['userfile']['tmp_name'][$i], $img_url)
is there a way to set the permissions of the images on upload to
anything
other than 600?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.
- References:
- directories - again
- From: "Ross"
- directories - again
- Prev by Date: Re: [PHP] file permissions
- Next by Date: Re: [PHP] Re: directories - again
- Previous by thread: Re: directories - again
- Next by thread: Re: [PHP] Re: directories - again
- Index(es):
Relevant Pages
|