Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/11/2006, 12:55
juanpro
 
Fecha de Ingreso: septiembre-2003
Ubicación: lima
Mensajes: 378
Antigüedad: 20 años, 7 meses
Puntos: 0
Ya son varios correos que estan llegando con codigos raros en los otros campos parecen que estuvieran fastidiando con programas robots o mandaran algun tipo de spam, no lo se exactamente, si alguein tuviera algun articulo sobre este tema y como evitar este tipo de ataque.

Gracias amigos

$destino="[email protected]";
$asunto="PFL New Request - $Contact_Person_Name";
$mensaje="<b>Type Contact</b> : <b>$Type_Contact \r\n</b>"."<br><br>";
$mensaje.="<strong>Name</strong> : $Contact_Person_Name \r\n"."<br>";
$mensaje.="<strong>Address (street, city, state)</strong> : $Contact_Person_Address \r\n"."<br>";
$mensaje.="<strong>Country</strong> : $Contact_Person_Country \r\n"."<br>";
$mensaje.="<strong>Zip Code</strong> : $Contact_Person_zip_code \r\n"."<br>";
$mensaje.="<strong>E-mail</strong> : $Contact_Person_email \r\n"."<br>";
$mensaje.="<strong>Telephone</strong> : $Contact_Person_Telephone \r\n"."<br>";
$mensaje.="<strong>Fax</strong> : $Contact_Person_Fax \r\n"."<br>";
$mensaje.="<strong>N&ordm; of Adult Persons</strong> : $Number_of_Adults \r\n"."<br>";
$mensaje.="<strong>N&ordm; of Children 11 and under</strong> : $Number_of_Children \r\n"."<br>";
$mensaje.="<strong>Have you contacted us before?</strong> : $Have_you_contacted_us_before \r\n"."<br>";
$mensaje.="<strong>Comments</strong> : $Comments \r\n"."<br>";
$mensaje.="<strong>Please feel free to tell us how you found out about Peru For Less</strong> : $How_did_you_find_out \r\n"."<br>";
if (empty($receive_newsletter)){
$estado="NO";
//$mensaje.=$estado;
$mensaje.="<strong>Receive Newsletter</strong> : $estado \r\n"."<br>";
}else{
$mensaje.="<strong>Receive Newsletter</strong> : $receive_newsletter \r\n"."<br>";
}
$contenido.= "<font face=verdana size=2>$mensaje</font>";
$cabeceras="MIME-Version: 1.0" . "\n";
$cabeceras.="Content-type: text/html; charset=iso-8859-1 " . "\n";
$cabeceras.="From: ".$Contact_Person_Name."<".$Contact_Person_email." >\n";
$cabeceras.="X-Mailer: PHP/" . phpversion();
mail($destino, $asunto, $contenido, $cabeceras);
echo "<center>Your message was successfully sent...</center>";
?>