Results 1 to 4 of 4
Thread: mkdir() not working?
Feb 23, 2004, 12:23 #1
mkdir() not working?
Warning: mkdir(/home/..../public_html/test): Permission denied in /home/..../create_folder.php on line 29
I am trying to make a folder using mkdir() in public_html without changing the CHMOD to 0777 for public_html. Cause I know that you can create a folder using a FTP program, why not mkdir? -_-
Feb 23, 2004, 15:56 #2
cause with mkdir your using a php script and the apache server process wich doesnt have the same permissions as when you connect by ftp as a user with higher priveledges.Erh
Feb 23, 2004, 15:57 #3
i would suggest putting it behind another directory so your public_html directory is not at a permission of 777.
Feb 24, 2004, 03:54 #4
can i ask u for this script hit which u create a directory?
thanx in advance!!!