<?
$file=fopen("http://mysite.t35.com/usernames/"+$user+".txt","a+");
$passwordcheck = fread ($file,8);
fclose ($file)
$file=fopen("http://mysite.t35.com/usernames/"+$user+".txt","a+");
fwrite ($file,$passwordcheck);
fclose ($file)
?>
I don't see what could go wrong with my code. Here are the errors it gives me:
Warning: fopen("0", "a+") - Permission denied in /usr/home/freehost/26817/signin.php on line 2
Warning: Supplied argument is not a valid File-Handle resource in /usr/home/freehost/26817/signin.php on line 3
Warning: Supplied argument is not a valid File-Handle resource in /usr/home/freehost/26817/signin.php on line 4
Thanks in advance!