hello,
i have a php form that currently prints thank you after submitting. What i want it to do is go directly to a differnt html page.
this is my code. So basically i wnat to get rid of the print function and just redirect.
regards
justin
<?php
PRINT "<CENTER>";
PRINT "Hello, $name.";
PRINT "<BR><BR>";
PRINT "Thank you for using our booking form";
PRINT "</CENTER>";
$email = "jbgraphicdesign@yahoo.com";
$subject = "vacation Request";
$body = <<<EOF
Prefix is $prefix.
My first name is $Username.
My last name is $UserLastName.
My street is $street.
My suite is $aptsuiteNo.
My city is $city.
My province is $province.
My postal code is $pcode.
My birthmonth is $DOBmonth.
My birthday is $DOBday.
My birthyear is $DOByear.
I've been at my Present Address years $yearslived.
I've been at my Present Address months $livedmonths.
My drivers license# is $license.
My S.I.N is $SIN.
My Employer is $Employer.
My job title is $JobTitle.
My work phone is $bustelAcode.
My work phone is $bustel1.
My work phone is $bustel1a.
My extension is $ext.
Length of employment years: $yearsATwork.
Length of employment months: $monthsATwork.
My E-mail is $email3.
My paymnet method is $PayMethod.
My bank name is $BankName.
My branch address is $BranchAddress.
My bank city is $BankCity.
My bank province is $BankProvince.
My account number is $AccNo.
My branch number is $BranchNo.
My institutional ID is $BranchID.
My credit card is $cc.
My credit card number is $cardnumber.
My credit card expiriry date is month $CardMonthEXP.
My credit card expiriry date is year $CardyearEXP.
My Local Line Provider (LSP) is $LSPProvider.
My Local Line Provider is other $OtherLSP.
My long distance provider is $LDprovider.
My long distance provider is other $OtherProvider.
Countries most called is $MostCalled.
Lines to register 1 is area code $RegTel1Acode.
Lines to register 1 is $RegTel1.
Lines to register 1 is $RegTel1a.
Lines to register 1 fax $Line1Fax.
Lines to register 1 cell $Lin1Cel.
Lines to register 1 axcess yes: $L1axessYes.
Lines to register 1 axcess no: $L1axessNO.
Lines to register 1 axcess only: $L1axessOnly.
Lines to register 2 is area code $RegTel2Acode.
Lines to register 2 is $RegTel2.
Lines to register 2 is $RegTel2a.
Lines to register 2 fax $Line2Fax.
Lines to register 2 cell $Line2Cel.
Lines to register 2 axcess yes: $L2axessYes.
Lines to register 2 axcess no: $L2axessNO.
Lines to register 2 axcess only: $L2axessOnly.
Lines to register 3 is area code $RegTel3Acode.
Lines to register 3 is $RegTel3.
Lines to register 3 is $RegTel3a.
Lines to register 3 fax $Line3Fax.
Lines to register 3 cell $Line3Cel.
Lines to register 3 axcess yes: $L3axessYes.
Lines to register 3 axcess no: $L3axessNO.
Lines to register 3 axcess only: $L3axessOnly.
Lines to register 4 is area code $RegTel4Acode.
Lines to register 4 is $RegTel4.
Lines to register 4 is $RegTel4a.
Lines to register 4 fax $Line3Fax.
Lines to register 4 cell $Line4Cel.
Lines to register 4 axcess yes: $L4axessYes.
Lines to register 4 axcess no: $L4axessNO.
Lines to register 4 axcess only: $L4axessOnly.
I agree to the terms $ContactRequested.
Siganture is $signature.
date signed day $sigDay.
date signed month $sigMonth.
date signed year $sigYear.
EOF;
$headers = <<<EOF
From: $name <$email3>
Return-Path: <$email3>
EOF;
mail($email,$subject,$body,$headers);
?>