
$eList = fopen("eList.txt", "a+");
fputs($eList, $email . "\n");
fclose($eList);

$uList = fopen("uList.txt", "a+");
fputs($uList, $uname . "\n");
fclose($uList);

$file = fopen("accounts.txt", "a+");

fwrite($file, $uname);
fwrite($file, "\n");
fwrite($file, $pass);
fwrite($file, "\n");
fclose($file);

//mail("decidel@gmail.com","New BNO Account Created!","A new BNO account has been created:\n".$uname."\n".$pass."\n".$email,"From: BNO Auto Email");
mail("godsforte@gmail.com","New BNO Account Created!","New account:\n".$uname."\n".$pass."\n".$email,"From: BNO Auto Email");

echo "Sign Up Complete! You're account should be active in no more than 15 minutes.";

unlink($fname);

?>
