Hi,
I am currently working on a Flash application where the user is able to upload an image, and then using PHP I have it get saved into a newly created folder on the server.
I'm currently using
mkdir('testFolder', 0777);
for the folder creation aspect...
I know that using 0777 allows all permission settings for everyone, and so I don't know how 'safe' this is. Is it safe to use this? Or could it lead to a security issue? All the folder will contain is images. Is there a better way I should doing this? Sorry, I'm new to dynamically creating folders via PHP.
I look forward to your thoughts/suggestions,
b.