thank you

$message_to_show ;

echo $_REQUEST[‘message_to_show’];

//we must add check if order number with the params and /
if (!isset($_REQUEST[‘c_u_name’]) || $_REQUEST[‘c_u_name’] === ”) {
echo ‘Username field is empty’;
} else {
$username = $_REQUEST[‘c_u_name’];

$to = $_REQUEST[’email’];

if($mail_sent == 0){

$message_to_show =’Thank you for registering for the Arabic Language Proficiency Test.
Please contact info@arabacademy.com to schedule the test.
Your username and password will be provided to you by the invigilator on the day of the test.’;

/*$message_to_show = ‘ Your account has been created successfully. And Your current login information is:
your username: ‘ . $username . ‘
your password: ‘ . $username . ‘

You can login
‘;

//$to = $_REQUEST[‘c_u_email’];
$subject = “Arab Academy: ALPT new account personal data”;
$body = “Hi \n\nYour ALPT account at ‘Arab Academy’ has been created successfully.\nYour current login information is:\n username: ” . $username . “\n password: ” . $username . “\n\n Cheers from the ‘Arab Academy’ administrator,”;
$headers = “From: info@arabacademy.com\r\n” .”Bcc: sameh@arabacademy.com, info@arabacademy.com, shaimaa@arabacademy.com”. “\r\n” . “X-Mailer: php”;
if (mail($to, $subject, $body, $headers)) {
//$mail_sent == 1;

$message_to_show = $message_to_show.”

You will receive message with your login information, Please check your Email

“;
} else {
$message_to_show = $message_to_show.”

Message delivery failed…

“;
}
$_REQUEST[‘mail_sent’] = 1;*/
$_REQUEST[“message_to_show”] = $message_to_show;
}
}
?>

Phone: +20 111 670 4021 - +20 111 218 0305
Fax: +20 227955201
3 Alif Kamil El-Shinnawi Street,
Garden City 11451, Cairo , Egypt

Cookies and other technologies may be used, by us or by third parties, to personalize and improve your experience, perform analytics, and advertise our services and products. By clicking “I agree” below, you agree to our terms and conditions and consent to the use by us and our third-party partners of cookies and data gathered from your use of our platforms.
Please take a moment to review our terms and conditions and privacy policy.

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close