AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.216.233
Web Server : Apache
System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : logmcpe ( 111175)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/logmcpe/www/AB/guingamp/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/AB/guingamp/formmail.php
<?php

$message='<meta charset="utf8" /><table style="margin:0 auto; width:80%; font-family:Arial, Helvetica, sans-serif; border:1px solid #3d3d3f;">

  <tr>

    <td colspan="2" style="height: 30px; background:#5c5c5c"><span style="margin-left:10px; font-weight:bold; color:white;">Formulaire de contact</span></td>

  </tr>

  <tr>

    <td colspan="2"><h2 style="font-size:14px;">Informations générales :</h2></td>

  </tr>

  <tr>

    <td valign="top">';

      

      if(isset($_POST['nom'])) $message .='<p style="margin:0; padding:0;font-size:12px;">Nom : '.$_POST["nom"].'</p>';

	 if(isset($_POST['cp'])) $message .='<p style="margin:0; padding:0; font-size:12px;">Code postal : '.$_POST["cp"].'</p>';

      if(isset($_POST['email'])) $message .='<p style="margin:0; padding:0;font-size:12px;">E-mail : '.$_POST["email"].'</p>';

      if(isset($_POST['tel'])) $message .='<p style="margin:0; padding:0;font-size:12px;">Téléphone : '.$_POST["tel"].'</p>';

	  if(isset($_POST['select1'])) $message .='<p style="margin:0; padding:0; font-size:12px;">Agence la plus proche : '.$_POST["select1"].'</p>';

	  if(isset($_POST['select2'])) $message .='<p style="margin:0; padding:0; font-size:12px;">Nbre d heures: '.$_POST["select2"].'</p>';

      if(isset($_POST['message'])) $message .='<p style="margin:0; padding:0;font-size:12px;">Message : '.$_POST["message"].'</p></td>';

    $message .='

    </td>

  </tr>



  <tr>

    <td colspan="2" style="height: 30px; background:#5c5c5c"><span style="margin-left:10px; font-size:12px;font-weight:bold; color:white;">via le formulaire de contact de menage et co</span></td>

  </tr>

</table>';

?>





<?php

   // *** A configurer



   $to    = $_POST["maildestinataire"];

   $emailccbb = "pascal@clicclicbangbang.com";
$from  = "Formulaire Menage et compagnie<contact@menage-et-compagnie.com>";  // adresse MAIL OVH liée à ton hébergement.

   $lastname= $_POST["nom"];

   $email= $_POST["email"];



   $JOUR  = date("Y-m-d");

   $HEURE = date("H:i");

   $Subject = "Email Ménage et compagnie GUINGAMP - $JOUR $HEURE";

   // *** Laisser tel quel



   



   $mail_Data = "";

   $mail_Data .= "<html> \n";

   $mail_Data .= "<head> \n";

   $mail_Data .= "<title> $Subject </title> \n";

   $mail_Data .= "</head> \n";

   $mail_Data .= "<body> \n";

   $mail_Data .= $message;

   $mail_Data .= "</body> \n";

   $mail_Data .= "</HTML> \n";



   $headers  = "MIME-Version: 1.0 \n";

   $headers .= "Content-type: text/html; charset=utf-8 \n";

   $headers .= "From: $from  \n";
$headers  .= 'BCc:' . $emailccbb. "\r\n"; // Carbon copy to Sender


   $headers .= "Reply-To: ".$lastname."<".$email.">  \n";

   $headers .= "Disposition-Notification-To: $from  \n";



   // Message de Priorité haute

   // -------------------------

   $headers .= "X-Priority: 1  \n";

   $headers .= "X-MSMail-Priority: High \n";



   $CR_Mail = TRUE;



   $CR_Mail = @mail ($to, $Subject, $mail_Data, $headers);

   echo $CR_Mail;

	

	

	

	

	

?>

AnonSec - 2021