The University of Southampton

Prospectus Enquiry

if( empty($_POST['surname'] ) || empty($_POST['firstname']) || empty($_POST['nationality']) || empty($_POST['address1']) || empty($_POST['address2']) || empty($_POST['address3']) || empty($_POST['country']) || empty($_POST['postcode']) || empty($_POST['email']) || empty($_POST['year_of_entry']) || empty($_POST['brochure'])) { print "

Some required fields in the form were not completed please go back and finish the form.

"; return; }
mail(
"pm5@ecs.soton.ac.uk",

"ECS ".$_POST["brochure"]." Request",
"Name: ".$_POST["form_title"]." ".$_POST["firstname"]." ".$_POST["surname"]."
Address1: ".$_POST["address1"]."
Address2: ".$_POST["address2"]."
Address3: ".$_POST["address3"]."
Country: ".$_POST["country"]."
Postcode/Zip: ".$_POST["postcode"]."
Telephone: ".$_POST["telephone"]."
Email: ".$_POST["email"]."
Year: ".$_POST["year_of_entry"]."
Brochure required: ".$_POST["brochure"]."
" ,"Reply-to: ".$_POST["email"]."\nFrom: FPAS Website "); ?>

Your request has been submitted. The following information was sent with the request:

Name:
=$_POST["form_title"]?> =$_POST["firstname"]?> =$_POST["surname"]?>

Address:
=$_POST["address1"]?>
=$_POST["address2"]?>
=$_POST["address3"]?>

Country:
=$_POST["country"]?>

Postcode/Zip:
=$_POST["postcode"]?>

Telephone:
=$_POST["telephone"]?>

Email:
=$_POST["email"]?>

Intended Year of Entry:
=$_POST["year_of_entry"]?>

Brochure required:
=$_POST["brochure"]?>