use the function chmod

chmod($img_url, 0777); //note the leading 0, it should be there

I hope this is what you want:


-- 
itoctopus - http://www.itoctopus.com
""Ross"" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> 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

Reply via email to