mkzw0ot4m0nk
Programmer
im creating a profile service and im working on the register page.. i already have a folder called users made and i have it chmod 777 so i can make another folder in it which does work. but when i go to write inside the folder i just created with php it wont create it. i get this error..
Warning: fopen("public_html/profileservice/users/mkzw0ot4m0nk/pass.php", "w" - No such file or directory in /home/mkzmonkeylagger/public_html/profileservice/new.php on line 17
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/mkzmonkeylagger/public_html/profileservice/new.php on line 18
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/mkzmonkeylagger/public_html/profileservice/new.php on line 19
heres some of the code..
$dir = "users/$sn";
mkdir("$dir", 0755);
$fp = fopen("public_html/profileservice/users/$sn/pass.php", "w"
fwrite($fp,"$mypass = $pass"
fclose($fp);
any ideas?
Warning: fopen("public_html/profileservice/users/mkzw0ot4m0nk/pass.php", "w" - No such file or directory in /home/mkzmonkeylagger/public_html/profileservice/new.php on line 17
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/mkzmonkeylagger/public_html/profileservice/new.php on line 18
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/mkzmonkeylagger/public_html/profileservice/new.php on line 19
heres some of the code..
$dir = "users/$sn";
mkdir("$dir", 0755);
$fp = fopen("public_html/profileservice/users/$sn/pass.php", "w"
fwrite($fp,"$mypass = $pass"
fclose($fp);
any ideas?