$value) { $$key = $value; //echo $key." = ".$value."
"; if (stristr($value,"Content-Type")) { header("HTTP/1.0 403 Forbidden"); echo "Unauthorised content has been added to the form input."; exit; } } if (strtoupper(substr(PHP_OS,0,3)=='WIN')) { $eol="\r\n"; } elseif (strtoupper(substr(PHP_OS,0,3)=='MAC')) { $eol="\r"; } else { $eol="\n"; } $body = "".$eol; $body .= "

The following message has been received from the Ambler Collins website:

".$eol; $body .= "

Name: ".$name."
".$eol; $body .= "Email: ".$email."
".$eol; $body .= "Home phone: ".$phone."
".$eol; $body .= "Mobile phone: ".$mobile."
".$eol; $body .= "Preferred contact time: ".$contact_time."

".$eol; $body .= "

Area of interest: ".$interest."
".$eol; $body .= "

Message:

".$eol; $body .= "

".nl2br($message)."

".$eol; # Common Headers $headers .= 'From: Ambler Collins '.$eol; $headers .= 'Reply-To: Ambler Collins '.$eol; $headers .= 'Return-Path: Ambler Collins '.$eol; // these two to set reply address $headers .= "Message-ID: <".time().rand(1,1000)." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters $headers .= 'MIME-Version: 1.0'.$eol; $headers .= "Content-Type: text/html; charset=\"ISO-8859-1\"".$eol.$eol; $emailaddress = "sinead@amblercollins.com"; //$emailaddress = "zinmay.thetwin@pasr.net"; $emailsubject = "Ambler Collins website contact"; $msg = ""; $msg .= $body.$eol.$eol; # SEND THE EMAIL ini_set(sendmail_from,'info@amblercollins.com'); // the INI lines are to force the From Address to be used ! mail($emailaddress, $emailsubject, $msg, $headers); ini_restore(sendmail_from); # SEND CONFIRMATION EMAIL $body = "".$eol; $body .= "

Thank you for your application.

Due to the high number of enquiries received we will endeavour to contact you within the next 48-72 hours.

Thank you for your patience in advance.

Ambler Collins

".$eol; $emailsubject = "Thankyou for contacting Ambler Collins"; $emailaddress = $email; $msg = ""; $msg .= $body.$eol.$eol; # SEND THE EMAIL ini_set(sendmail_from,'info@amblercollins.com'); // the INI lines are to force the From Address to be used ! mail($emailaddress, $emailsubject, $msg, $headers); ini_restore(sendmail_from); $host = $_SERVER['HTTP_HOST']; $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); $extra = 'enquiry_thanks.php'; header("Location: http://$host$uri/$extra"); //echo $msg; exit; } ?> Ambler Collins - The Visa Specialists
Ambler Collins - Visa Specialist Workpermit, Visa, Migration, Immigration, Green Cards, EB5, Trust AmblerCollins. Ambler Collins - Visa Specialist
 
     Telephone: +44 (0)20 7371 0213     Fax: +44 (0)20 7736 8841     Email: info@amblercollins.com
SIGN UP FOR
Ambler Collins Quarterly
Immigration Newsletter
 
First Name:
Last Name:
Email:
   
 
FREE ASSESSMENT
 
UK Immigration
USA Immigration
Australia Immigration
Singapore Immigration
 
 
Ambler Collins - The Visa Specialists
ENQUIRY FORM
   
Name: *
Email address: *
Re-enter email address: *
Home telephone:
Mobile telephone: *
Preferred contact time:
(between 9am and 6pm,
Monday to Friday)
Area of interest:
Your comments/query:  

* indicates compulsory field

>Back to AmblerCollins Home Page


SEARCH
 
 
LATEST NEWS
 
July 15 2009 -
The Singapore Work Holiday Programme
The Work Holiday Programme (WHP) is a scheme that allows university students and recent graduates... Read More
July 6 2009 -
Singapore Immigration and Visas
The Singapore economy is highly developed and successful.... Read More
July 3 2009 -
Points based System for Immigration and Visas
The new UK Border Agency Points Based System has introduced immigration policy to address the needs of the UK's labour market and... Read More