SGBoise
Oct 15th 2008, 9:26 am
Hey guys,
I am having problems with my script. My script allows you to upload videos, music, pictures, etc. When I upload the thumbnail from the media it uses imagepng() to resize the thumbnail to the size I want.
The problem is that it makes the permissions 363 which won't allow anyone to be able to read the file. I can't even change the permissions using ftp. I have to use the cpanel file manager.
I also tried setting the permissions to 755 using chmod() in php and it returns as true.
Anyone have any ideas?
I am having problems with my script. My script allows you to upload videos, music, pictures, etc. When I upload the thumbnail from the media it uses imagepng() to resize the thumbnail to the size I want.
The problem is that it makes the permissions 363 which won't allow anyone to be able to read the file. I can't even change the permissions using ftp. I have to use the cpanel file manager.
I also tried setting the permissions to 755 using chmod() in php and it returns as true.
Anyone have any ideas?