Thread: mkdir() error
View Single Post
Old 06-03-2008, 12:23 PM   #1 (permalink)
Jmz
The Acquainted
 
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
Jmz is on a distinguished road
Default mkdir() error

I'm trying to create a folder using a php script but I'm getting an error saying:

Quote:
Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/users/22) is not within the allowed path(s): (/home/jmz360:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/jmz360/public_html/play/photo/activate.php on line 65
The code I'm using to create the folder is:
PHP Code:
mkdir("/users/".$UserID.""0777); 
Am I doing something wrong?
__________________
Free CSS Tutorials
Send a message via MSN to Jmz
Jmz is offline  
Reply With Quote