Hi. I am using mkdir() to create a folder and set the permissions for it. The problem is no matter what permissions I set it always sets it to 700.
for instance, I used mkdir("path/to/folder",0777);. It creates the folder fine, but the permissions are set to 700. I cant even open the folder thru an FTP program ause it says permission denied.
How can I create the folder and set it to 777 for all access?
Thanks!