\n"; exit(); } if(mysql_num_rows($res) == 0) { echo "Sorry, your email was not found. Please email us with your full name, job title, town and country and we'll try and help.\n"; } $row = mysql_fetch_array($res); // Read in the File $fd = fopen("./forgotten.txt", "r"); if(!$fd) { echo "Error opening email file (forgotten.txt)
\n"; exit(); } while ($buffer = fgets($fd, 4096)) { $buffer2 .= $buffer; } fclose($fd); $buffer2 .= "\n\nLogin = ".$row["email"]." Password = ".$row["password"]."\n"; mail($email, "BWW Password Request", $buffer2, "From: ".$replyto."\nReply-To: ".$replyto."\n"); // echo $buffer2; // echo "found"; ?> Your password has been emailed to you.

Click here to return to the main page Enter your email address, and your password will be mailed to you.



Return to the login page