Hi...
I am tring to do this:
mkdir("dir/mail/".$_SESSION[lastuserid]."/files");
$ex="chmod 777 dir/mail/".$_SESSION[lastuserid]."/files";
exec("$ex &");
mkdir("dir/mail/".$_SESSION[lastuserid]."/files/in");
$ex="chmod 777 dir/mail/".$_SESSION[lastuserid]."/files/in";
exec("$ex &");
It works fine when I run on my computer (Win) but when I try to run it from server (Lin):
SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access pescas/mail/84 owned by uid 48 in /var/www/html/pescas/newuserjn.php on line 47.
Is there any way to create this sub-dir? Can I change the UID???
SAFE MODE Restriction in effect
Moderator: General Moderators