How can I change the chmod to 0777 through PhP for a folder with subfolders and all it's content!? Or if I set the chmod for the folder with the subfolders all the subfolders will have 0777 permission as well? Thanks :)
Well yeah.. I didn't say I don't have security, I always regulate the traffic and access through .htaccess and cookies. But still, I can't write files or unlink them unless I'm making my folder 0777. The only way I could realize this so far was through ftp_chmod(), but this is not so convenient for a customer to input his ftp account data so he could rewrite his folder's access in ftp, this could be indeed considered a scam:P so, is there a way to chmod() a folder, because I'm out of luck so far!:(
.htacess? Now there's another thing that has a real down-side.
I only do database driven dynamic sites . It makes it a lot easier to securely deal with users. .htacess is almost a thing of the past! I avoid it like the plague.