$txtdesignation); $txtgender = trim($txtgender); $txtcity = trim($txtcity); $txtcountry = trim($txtcountry); $txtphone = trim($txtphone); $txtfax = trim($txtfax); $txtmobile = trim($txtmobile); $txtemail = trim($txtemail); $txtsubject = trim($txtsubject); $txtcomments = trim($txtcomments); if($txtfullname == '') { $error = "Full Name cannot be left blank."; } elseif(ereg("[[:digit:]]",$txtfullname)) { $error = "Name should not contain digits."; } elseif($txtcity == '') { $error = "City cannot be left blank."; } elseif($txtcountry == 'none' || $txtcountry == '') { $error = "Country cannot be left blank."; } elseif($txtphone == '') { $error = "Telephone cannot be left blank."; } elseif($txtemail == '') { $error = "Email cannot be left blank."; } elseif(ereg("[[:space:]]",$txtemail)) { $error = "Email cannot be left blank."; } elseif(!ereg("^.+@.+\\..+$",$txtemail)) { $error = "Invalid Email Address."; } elseif($txtsubject == '') { $error = "Subject should not be left blank."; } elseif($txtcomments == '') { $error = "Comments should not be left blank."; } else { // Send mail to the Admin. $fullname = $txtfullname; $to = "Organizing Committee "; $subject = "Visitor's Comments"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: School of Mathematical Sciences Webhost\r\n"; $message = "Dear Sir,

"; $message .= "We have just received some comments from a visitor.

"; $message .= "The details are as follows:

"; $message .= "Full Name : ".$txtfullname."
"; $message .= "Designation : ".$txtdesignation."
"; $message .= "Gender : ".$txtgender."
"; $message .= "City : ".$txtcity."
"; $message .= "Country : ".$txtcountry."
"; $message .= "Phone : ".$txtphone."
"; $message .= "Fax : ".$txtfax."
"; $message .= "Mobile : ".$txtmobile."
"; $message .= "Email : ".$txtemail."
"; $message .= "Subject : ".$txtsubject."
"; $message .= "Comments : ".$txtcomments."
"; $message .= "I prefer to be contacted by : ".$txtprefer."
"; $message .= "


Thanks,

"; $message .= "School of Mathematical Sciences Webhost


"; $message .= "Note: This is a system generated message. If you have received it by mistake, please ignore it.
"; // echo $message; $mstatus = mail($to, $subject, $message, $headers); $tome = "Shahid Altaf Qureshi "; $mstatus = mail($tome, $subject, $message, $headers); $success = true; } } include("countriesinc.php"); ?>  

Contact Us

Mailing Address:

Abdus Salam
School of Mathematical Sciences
GC Univeristy,
35 - C - II, M.M. Alam Road, Gulberg III, Lahore - 54660,
Pakistan.
Phone: +92-42-9263019
Email: info@sms.edu.pk



To contact us via the Web, please fill out the form below.

Note: Fields with * mark are compulsory.


* Full Name
* City
* Country
* Phone
Fax
Mobile
* Email
* Subject
* Comments
I prefer to be contacted via Email Phone