I can't seem to get this script to work:
mkdir ("../$username", 0700);
chmod ("../$username", 0777);
$bandpage = "../$username/".index.".php";
$fd = fopen($bandpage,"a+"
fwrite ($fd, "Hello"."\r\n"
fwrite ($fd, "Is this working?"
What I get when running the script is:
Warning: SAFE MODE Restriction in effect. The script whose uid is 2312 is not allowed to access /opt/guide/ owned by uid 99 in /opt/guide/ on line 95
I think the problem is that the server is already running the creation of the file, but the folder is not yet created.
Well, if anyone has an idea, i'd be pleased to know.
mkdir ("../$username", 0700);
chmod ("../$username", 0777);
$bandpage = "../$username/".index.".php";
$fd = fopen($bandpage,"a+"
fwrite ($fd, "Hello"."\r\n"
fwrite ($fd, "Is this working?"
What I get when running the script is:
Warning: SAFE MODE Restriction in effect. The script whose uid is 2312 is not allowed to access /opt/guide/ owned by uid 99 in /opt/guide/ on line 95
I think the problem is that the server is already running the creation of the file, but the folder is not yet created.
Well, if anyone has an idea, i'd be pleased to know.