note : the define BLOG_ROOT_PATH is my full path /srv/www/.....
I have following problem :
I'm writing a Blog website. Wenn a new member signs in. I want to create a directory with his username . So far no problem.
Code: Select all
mkdir (BLOG_ROOT_PATH.$directory, 0777);I have a directory owned by 30.
Now I need to make a new index.php file and copy it into the new directory.
Here starts the problem . I get following error
copy(): SAFE MODE Restriction in effect. The script whose uid is 20136 is not allowed to access /srv/www/.... owned by uid 30
Code: Select all
copy (BLOG_ROOT_PATH."e;index.php"e;,BLOG_ROOT_PATH.$directory."e;/index.php"e;);Can somebody help me ?
Thanks in advance,
Gert