i've got some problems with i think chmod, umask permissions or something like that. I#m using the following code:
mkdir ("./gal_2", 0703);
mkdir ("./gal_2/thumbs", 0703);
mkdir ("./gal_2/pics", 0703);
so its supposed to look something like
-rwx----wx for the directory ./gal_2 but it doesn't. it looks like -rwx-----x so it creates 701 and not 703.
but the strage thing is that i can list this directory from the web even though the permission doesn't grant reading for others.
what i want to do is to create a directory structure for each gallery. this structure should be created through a webinterface and then i want to upload the pictures into those directories also through a webinterface. but ofcourse i don't want people to browse this structure. so i thought the directories should have 703 and the pics 705 or is this complete bullsh** ???
but i think this should be an easy to solve problem. i just cannot think anymore!! thanx and have a nice day