[SOLVED]Setting Upload File Permissions
Posted: Tue Aug 23, 2005 3:54 am
In the following example of a image upload, how do I make it so that
when the tmp is place in the upload folder, the file permissions are
777? Right now it uploads with the permssions being at 600
when the tmp is place in the upload folder, the file permissions are
777? Right now it uploads with the permssions being at 600
Code: Select all
move_uploaded_file($_FILES['image']['tmp_name'], $uploads.'/'.$_FILES['image']['name'])
or die ("Couldn't upload ".$_FILES['image']['name']."\n");