11-06-2006
2,
0
Join Date: Nov 2006
Last Activity: 7 November 2006, 4:10 PM EST
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
safe mode
Hello
I'm working on a PHP project right now and when I try to run 'mkdir' I've been getting an error:
code:
mkdir("<full path>/test", 0700);
error:
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 10002 is not allowed to access <full path> owned by uid 10004 in <full path>/test.php on line 3
also
code:
shell_exec("mkdir <full path>/test");
error:
PHP Warning: shell_exec() [<a href='function.shell-exec'>function.shell-exec</a>]: Cannot execute using backquotes in Safe Mode in <full path>/test.php on line 4