Forum Moderators: coopster
I have password protected http://www.example.com/Admin/
When I log-in to the /Admin/ directory with Internet Explorer, I want to be able to create a folder and/or file in example.com/Example_Folder/. I am currently using the PHP function mkdir().
Is this possible without setting the CHMOD of Example_Folder to 777?
Thanks in advance for the help.
"Why not create a folder within that folder and set the permission to 777."
Why would I want to do that? The whole point is that I just want the person that is logged into the example.com/Admin/ folder to be able to create other folders in example.com/.
dirname(__FILE__) . "/" . $_POST['name'] is equivalent to:
/hsphere/local/home/Example_Login_Name/Example.com/Admin/Test_40
So http://www.example.com/Admin/ is a password protected directory. I log-in with the Example_Login_Name, which is my web site Owner name and password. The CHMOD for http://www.example.com/Admin/ is 775. Does that provide enough to understand what I am trying to do?