# $DBUSER is the username for database access ex: "efileonl" $DBUSER="efileonl"; # $DBPASS is the password used for database access ex: "00004283" $DBPASS="efileonl00004283"; # $DBHOST is the ip address of the database server ex: "127.0.0.1" $DBHOST="localhost"; ?>
Please try again later. This is probably due to maintenance on the server."; exit; } $query = "SELECT * FROM efilesite.cpappl WHERE email='".$ue."' AND CNFNMA='".$un."' AND CNLNMA='".$ul."' AND secpas IS NOT NULL"; $result = mysql_query ($query, $link); if ($result==false) { # if errors occur at the database echo "Error: Can't reach database engine
Please try again later. This is probably due to maintenance on the server."; return(0); } else { if (mysql_num_rows($result)==1) { $row=mysql_fetch_array($result); $message="Greetings CPA Advisor!\n\nHere is the information you requested for the E-file Online CPA Advisors Program Log-in:\n\nSign-In Link: http://www.e-file-online.com/cpaonly/\nName: ".ucfirst($name)." ".ucfirst($lastname)."\nEmail Address: ".strtolower($email).".\nPassword: ".$row["secpas"]."\n\nPlease print this email for your records.\n\nWhen you are ready to modify your CPA Advisors Listing, you will need to log in using the email address and password provided above.\n\nIf you have any other questions or need further assistance, please contact us at customerservice@e-file-online.com or call (888) CPA-9115.\n\nThank you,\nE-File Online, Inc"; $mailok=mail($email, "Lost password - www.e-file-online.com", $message,"From: customerservice@e-file-online.com\nX-Mailer: E-file-Online.Com Mailer"); if ($mailok==false) { ?>E-mail sent.
We sent an e-mail message to echo $email; ?> with further instructions for finding your password. } else { ?>E-mail could not be sent.
Unfortunately we were unable to send an e-mail message to echo $email; ?>. Please try again later. } } else { echo "The supplied data doesn't exist in our database.
Please contact customerservice@e-file-online.com for any clarrification."; } } mysql_close($link); } else { ?>