class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I noticed that if the destination folder does not exist is being created. The permissions of that folder are set to 777 by default.
Is it possible to have 755 permission when creating a folder?
*I have checked the $handle->dir_chmod but i don't want to change permissions every time an image is uploaded. I want the initial permissions to be set to 755
I noticed that if the destination folder does not exist is being created.
The permissions of that folder are set to 777 by default.
Is it possible to have 755 permission when creating a folder?
*I have checked the $handle->dir_chmod but i don't want to change permissions every time an image is uploaded. I want the initial permissions to be set to 755
Thanks