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");