note 43028 deleted from function.mkdir by aidan

From: Date: Sun, 12 Sep 2004 11:40:25 +0000
Subject: note 43028 deleted from function.mkdir by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-76508@lists.php.net to get a copy of this message
Note Submitter: okiecrabjp at yahoo dot com ---- WOW!!! Guys, I have to sincerely thank you, everyone that had a say on this issue - I found out EXACTLY what I wanted to know! I'm not great at PHP, maybe even sort of a hack, I download useful small scripts and use them and modify them some if I can figure it out. I've downloaded NUMEROUS scripts to generate graphic thumbnails on the fly, all without using MYSQL. They have ALL worked - BUT - the devestating downside is that I can't modify or delete in any way, the thumbnail folders or the thumbnails in those folders, that the scripts create - it creates the files and folders with a really low permission, like 055, even if its set to 777. Last time I realized this, I had to have my domain host go in and delete my files for me (not a 'user friendly' solution). From this page, I have learned that you want to create folders and files with 0755 permissions (I think I'm on a Windows server but I do this just in case), then set the umask to 0, then chmod the folder/file to 0755, then change your umask back - I have NO idea what umask is but I was COMPLETELY bowled over when I checked and the files were *MINE* again!!! I chmodded, renamed, moved and deleted files and folders and it ALL worked great! Thank you all so much! =D

« previous php.notes (#76508) next »