Fill in your name and we'll email your username and password hint
Please note that you must have cookies enabled to use this service...
1)
{
///display a select form
echo "";
}
else
{
$retrieveA=mysql_fetch_array($retrieveR);
$ret_user_id=$retrieveA['third_id'];
$ret_email=$retrieveA['email'];
$hintQ="SELECT hint from hints_3 WHERE user_id='$ret_user_id' AND user_type=3";
$hintR=mysql_query($hintQ);
$hintA=mysql_fetch_array($hintR);
$password_hint=$hintA['hint'];
if(!$hintR) error_message("Cannot retrieve hint");
$secure_mail_subject = "Hint request";
$secure_mail_body = "--01fedcb871d3f012e43680250ba5ca3f\n";
$secure_mail_body .= "Content-type:text/html; charset=\"iso-8859-1\"\n";
$secure_mail_body .= "Content-transfer-encoding:7bit\n\n";
$secure_mail_body .= "\n";
$secure_mail_body .= "\n";
$secure_mail_body .= "";
$secure_mail_body .= "
";
$secure_mail_body .= "Your username is ";
$secure_mail_body .= $ret_user_id; $secure_mail_body .= "
";
$secure_mail_body .= "Your password hint is ";
$secure_mail_body .= $password_hint;
$secure_mail_body .= "
";
$secure_mail_body .= "";
$secure_mail_body .= "\n\n--01fedcb871d3f012e43680250ba5ca3f--\n";
mail($ret_email, $secure_mail_subject, $secure_mail_body, $secure_mail_header);
echo "If you are registered, your hint has been sent!
";
echo "If you do not receive an email within 10 minutes, try again.
";
echo "Click here to return to login page
";
}
}
else if($_POST['actione']=='select_3')
{
$secure_mail_header = "From: admin@zappointments.com\n";
$secure_mail_header .= "Reply-to: admin@zappointments.com\n";
$secure_mail_header .= "MIME-Version: 1.0\n";
$secure_mail_header .= "Content-type: multipart/mixed";
$secure_mail_header .= ";";
$secure_mail_header .= " ";
$secure_mail_header .= "boundary=\"01fedcb871d3f012e43680250ba5ca3f\"\n";
$secure_mail_header .= "Content-type:text/html; charset=\"iso-8859-1\"\n";
$secure_mail_header .= "Content-transfer-encoding:7bit\n\n";
$secure_mail_header .= "This is a multi-part message in MIME format.\n\n";
$thirdselected=$_POST['select_third'];
$retrieveQ="SELECT email FROM thirdparty WHERE third_id='$thirdselected'";
$retrieveR=mysql_query($retrieveQ);
$retrieveA=mysql_fetch_array($retrieveR);
$ret_email=$retrieveA['email'];
$hintQ="SELECT hint from hint_3 WHERE user_id='$thirdselected' AND user_type=3";
$hintR=mysql_query($hintQ);
$hintA=mysql_fetch_array($hintR);
$password_hint=$hintA['hint'];
if(!$hintR) error_message("Cannot retrieve hint");
$secure_mail_subject = "Hint request";
$secure_mail_body = "--01fedcb871d3f012e43680250ba5ca3f\n";
$secure_mail_body .= "Content-type:text/html; charset=\"iso-8859-1\"\n";
$secure_mail_body .= "Content-transfer-encoding:7bit\n\n";
$secure_mail_body .= "\n";
$secure_mail_body .= "\n";
$secure_mail_body .= "";
$secure_mail_body .= "
";
$secure_mail_body .= "Your username is ";
$secure_mail_body .= $thirdselected . "
";
$secure_mail_body .= "Your password hint is ";
$secure_mail_body .= $password_hint;
$secure_mail_body .= "
";
$secure_mail_body .= "";
$secure_mail_body .= "\n\n--01fedcb871d3f012e43680250ba5ca3f--\n";
mail($ret_email, $secure_mail_subject, $secure_mail_body, $secure_mail_header);
echo "If you are registered as a third party, your hint has been sent!
";
echo "If you do not receive an email within 10 minutes, try again.
";
echo "Click here to return to login page
";
} else {
hint_form();
}
echo "