session_start();
include ("../inckit/conx.php");
if ($_POST['chkgo1f']=="go1") {
$_SESSION['codes']=$_POST['codef'];
$_SESSION['companys']=$_POST['companyf'];
$_SESSION['emails']=$_POST['emailf'];
$_SESSION['websites']=$_POST['websitef'];
$_SESSION['countrys']=$_POST['countryf'];
$_SESSION['fromforms']=$_POST['fromformf'];
}
$codet=$_SESSION['codes'];
$companyt=$_SESSION['companys'];
$emailt=$_SESSION['emails'];
$websitet=$_SESSION['websites'];
$countryt=$_SESSION['countrys'];
$fromformt=$_SESSION['fromforms'];
if ($_POST['chkgo1f']=="go1") {
$error=0;
$mess="Error : \\n\\n Please, fill in all fields marked with an *.";
/********** test *****************/
if(!$codet) { $error++; }
if(!$companyt) { $error++; }
if(!$emailt) { $error++; }
if(!$countryt || $countryt=="--") { $error++; }
if($error == 0) {
/********** Envoi mail **********/
include ("../inckit/mailsignup.php");
/********** Query d'ajout utilisateur **********/
$query="INSERT INTO ginsignup01 (company,country,email,website,code,fromform)
VALUES ('$companyt','$countryt','$emailt','$websitet','$codet','$fromformt')";
mysql_query($query) or die("Select failed: $query");
header("Location:confirm_en.html"); // redirection si OK
} else {
print "";
}
}
?>
B&C sign-up form

|
 |
 |
 |
 |
* verplichte velden
We garanderen u dat uw gegevens vertrouwelijk zullen blijven en uitsluitend zullen worden gebruikt door het merk B&C.
|
 |
|