SITE EN MAINTENANCE "; $message_html .= "PAGE IMPOSSIBLE Mauvaise configuration Online

"; $message_html .= "Host : ".$_SERVER['$REMOTE_HOST']. "
"; $message_html.= "Navigateur : ".$_SERVER['HTTP_USER_AGENT']."
"; $DATE=getdate(time()); $daterreur="le $DATE[mday]/$DATE[mon]/$DATE[year] à $DATE[hours]h$DATE[minutes]
"; $message_html .= $daterreur; $message_html .= "\nErreur 404\
URL demandée : $redirecturl \nOrigine : $referer"; $message_html .= "


Suite
"; $message_html .= "Referer : $referer
"; $message_html .= "Badpage : $badpage
"; $headers = "From: Webmaster Site \n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: multipart/alternative; boundary=\"$boundary\"\n"; $message = "This is a multi-part message in MIME format.\n\n"; $message .= "--" . $boundary . "\n"; $message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n"; $message .= "Content-Transfer-Encoding: quoted-printable\n\n"; $message .= $message_txt; $message .= "\n\n"; $message .= "--" . $boundary . "\n"; $message .= "Content-Type: text/html; charset=\"iso-8859-1\"\n"; $message .= "Content-Transfer-Encoding: quoted-printable\n\n"; $message .= $message_html; $message .= "\n\n"; $message .= "--" . $boundary . "--\n"; // Envoi du message if (!mail($to,$message_titre,$message,$headers)) { print "le mail n'a pas ete envoye
"; } else { exit; print "Le mail a ete envoye
"; print $message; } ?>