FORGOTTEN PASSWORD

If you gave us your email address enter it and hit submit:


If you did not give us an email address, then please send your payment receipt to
Sorry that email address was not found in our database. '; //echo '

Please send your payment receipt to accounts@webexcavator.com.'; } else { $password = Result($result, 0, "Password"); $UserName = Result($result, 0, "UserName"); if ( Result($result, 0, "Key") == '' ) { //include( "includes/key_inc.php" ); //$key = GenerateKey( $UserName ); //$sql = "Update `CallTheBall`.`WebExcavatorRegister` set Key = '".$key."' where UserName = '".$UserName."' and Email = '".$szEmail."'"; //$result = Query( $sql ); $key = " Unregistered "; } else $key = Result($result, 0, "Key"); // Actually send email //include("includes/email.inc.php"); $emailSubject = "Web Excavator Key"; $email_headers = "From: accounts@webexcavator.com \r\n"; $email_headers .= "MIME-Version: 1.0\r\ncontent-type: text/plain; charset=\"us-ascii\"\r\n"; $email_headers .= "content-transfer-encoding:7bit\r\n\r\n"; $mail_body = "Greetings!\n\n"; $mail_body .= "Your Username is ".$UserName." and your password is ".$password."\n\n"; $mail_body .= "Your Registration Key is ".$key ."\n\n"; $mail_body .= "Have a great day!\n\n - The Web Excavator Team\n\n\nhttp://www.webexcavator.com"; if ( mail($szEmail, $emailSubject, $mail_body,$email_headers)) // if ( mail( $szEmail, $emailSubject, $mail_body, $email_headers ) ) { echo ""; echo "Your Username, Password and Registration Key has now been sent to the email address you gave us."; echo ""; } else { echo ""; echo "D'oh! Mail was not sent. Is the email address valid?"; echo "

Please try again."; echo '

If you repeated see this message, please send your payment receipt to accounts@webexcavator.com, and once we verify that you\'ve paid we will email your registration key to you.'; echo "
"; } } }?>