//echo "--- anti_spam : " . $anti_spam . "<br>"; //print_r( $_POST ); //echo "<br>------------------<br>"; $client = new client(); $affichage_inscription_ok = "none"; $affichage_inscription_erreur = "none"; // Confirmation de l'inscription if ( ( $mon_action == "inscrire" ) && ( $anti_spam == "" ) ) { //echo "inscription...<br>"; // Vérification de l'existence du client if ( !$client->isMailExist( $_POST["email"] ) ) { //echo "Le mail n'existe pas...<br>"; // Enregistrement des informations du client $num_client = $client->gererDonnees( $_POST ); // Inscription OK if ( $client->load( $num_client ) ) { $affichage_inscription_ok = "block"; // Envoi du mail de confirmation d'inscription au client if ( 1 == 1 ) { $_to = $client->mail; //$_to = "*****@*****.**"; $sujet = "adanimalerie.com - Confirmation d'inscription"; //echo "Envoi du message à " . $_to . "<br>";