- Le champ Societe est obligatoire
"; if($ceciestlenom=="") $echec=$echec."- Le champ Nom est obligatoire
"; if($ceciestleprenom=="") $echec=$echec."- Le champ Prenom est obligatoire
"; if($ceciestladresse=="") $echec=$echec."- Le champ Adresse est obligatoire
"; if($ceciestlecodepostal=="") $echec=$echec."- Le champ Code postal est obligatoire
"; if($ceciestlaville=="") $echec=$echec."- Le champ Ville est obligatoire
"; //if($ceciestletel=="") //$echec=$echec."- Le champ Téléphone est obligatoire
"; if($ceciestlemail=="") $echec=$echec."- Le champ Email est obligatoire
"; elseif (!ereg("^(.+)@(.+)\\.(.+)$",$ceciestlemail)) $echec=$echec."- Le champ Email est invalide
"; //if($ceciestleurl=="") //$echec=$echec."- Le champ url est obligatoire
"; if($ceciestlademande=="") $echec=$echec."- Le champ Formuler la demande est obligatoire
"; if($echec=="") { /* email de confirmation envoyé au client */ $entetemail1 .= "From: $email_covac\r\n"; $entetemail1 .= "Content-type: text/html; charset=iso-8859-1\r\n"; $msg1 = "Nous avons bien reçu votre demande. Vous recevrez une réponse au plus tard dans les 72 heures.

AGENCECOVAC.COM
http://www.agencecovac.com\r\n"; mail($ceciestlemail,"INSCRIPTION",$msg1,$entetemail1); /* email envoyé à l'AGENCE COVAC */ $sujet="INSCRIPTION"; $entetemail = "From: webmaster@bcdlabel.com\r\n"; //$entetemail = "From: webmaster@agencecovac.com\r\n"; $entetemail .= "Content-type: text/php\r\n"; $msg2 = "L'entreprise suivante vient de vous laisser un message : Société : {$_POST['ceciestlasociete']} Nom : {$_POST['ceciestlenom']} Prénom : {$_POST['ceciestleprenom']} Adresse : {$_POST['ceciestladresse']} Code postal : {$_POST['ceciestlecodepostal']} Ville : {$_POST['ceciestlaville']} Tel : {$_POST['ceciestletel']} Fax : {$_POST['ceciestlefax']} E-mail : {$_POST['ceciestlemail']} Url : {$_POST['ceciestleurl']} Demande : {$_POST['ceciestlademande']}"; mail("$email_covac",$sujet ,$msg2, $entetemail); header("location: inscription_envoi.php"); } else { $error="Echec.
Corrigez votre saisie.

".$echec; } } if(!$formulaire || $echec != "") { include("ind_haut.php"); include("ind_gauche.php"); include("ind_droit.php");?>

Société " size="30">
Nom " size="30">
Prénom " size="30">
Adresse " size="30">
Code postal " size="30">
Ville " size="30">
Téléphone " size="30">
Fax : " size="30">
E-mail " size="30">
Adresse du site " size="30">

Formuler votre demande