Ver Mensaje Individual
  #22 (permalink)  
Antiguo 25/03/2008, 11:35
Rosana1234
 
Fecha de Ingreso: marzo-2008
Mensajes: 17
Antigüedad: 16 años, 1 mes
Puntos: 0
Re: Formularios seguros en PHP

Hola, Gracias pero me sale este error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/patatus/public_html/mail.php on line 22

archivo php

<? $sendTo = "[email protected]";
$subject = "UNA COMPRA";




$headers = "From: ". $_POST["nombre"] ." " . $_POST["telefono"] . " <" . $_POST["mail"] .">\r\n";
$headers .= "Reply-To: " . $_POST["mail"] . "\r\n";

$headers .= "Return-path: " . $_POST["mail"];

$message = "Nombre: ". $_POST["nombre"] ." \nTELEFONO: " . $_POST["telefono"] ."\nmail: ".$_POST["mail"] "\nDIRECCION: " . $_POST["direccion"] ." \nLOCALIDAD: ". $_POST["localidad"] ."\nCIUDAD: ".$_POST["ciudad"]."\nCP: ".$_POST["cp"]."\nMODELO: ".$_POST["modelo"]."\nLEYENDA: ".$_POST["leyenda"]."\nEl color de la remera es: ".$_POST["cremera"]."\nEl color de la leyenda es: ".$_POST["cleyenda"]."\nTALLE: ".$_POST["talles"]."\nCOMENTARIO: ".$_POST["comentario"]."\n$efectivo.$deposito.$dineromail.$pagofacil. ;
mail($sendTo, $subject, $message, $headers);



?>

Gracias por la molestia!!!