Page 1 of 1

mkdir

Posted: Thu Sep 22, 2005 12:20 am
by ecaandrew
im trying to make a directory, but i keep getting this.


Warning: mkdir(/home/idesign/public_html/ecaandrew): Permission denied in /home/idesign/public_html/beta/register.php on line 31

Code: Select all

mkdir('/home/idesign/public_html/ecaandrew', 0777);

please help, thanks

Posted: Thu Sep 22, 2005 12:42 am
by feyd
I'll bet the user your script is running under doesn't have write permission to your public_html directory. Try doing a deeper one.. if that doesn't work, you may be able to do it through the FTP functions... :?


:oops: yar. :)

Posted: Thu Sep 22, 2005 1:40 am
by ecaandrew
i tryed making a folder in /beta/, i chmodded the directory to 777 as well, still not working :(


how would i do this?

Posted: Thu Sep 22, 2005 2:41 am
by ecaandrew
i got it to work, thanks! :)