403 error after using mkdir()

Status
Not open for further replies.

ViperBlade

New Member
Messages
186
Reaction score
0
Points
0
Hi, i'm having a little problem with an "Access forbidden" error when trying to access folders after creating it using mkdir.
The code i'm using is
PHP:
mkdir("foldername/", 0700);

I can upload files into the folder through PHP and FTP, but I can't view them on my site or access them via an internet browser by typing the URL into the address bar.

Any suggestions?
Thanks in advance.
ViperBlade

(PS, I like the automatic search for similar topics. Cookies for the guy who thought that one up!)
Edit:
Fixed the problem now by altering the mode section from 0700 to 0777.
Sorry about the bump, but I thought it'd bring the topic to admin's attention so they could close it.

Thanks anyways X10 ppl!
ViperBlade
 
Last edited:
Status
Not open for further replies.
Top