Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/01/2009, 10:58
Lorsui
 
Fecha de Ingreso: agosto-2007
Mensajes: 114
Antigüedad: 17 años, 5 meses
Puntos: 1
Respuesta: Formulario en PHP

Tiene el siguiente codigo:
Código PHP:
<?php
if(!$email == "" && (!strstr($email,"@") || !strstr($email,".")))
{
echo 
"<h3></h3>\n";
$badinput "<h3>Su direccion electronica no es valida o esta mal escrita, reingresela por favor.</h3>\n";
echo 
$badinput;
}

$todayis date("l, F j, Y, g:i a") ;

$asunto $asunto ;
$subject $asunto;

$nota stripcslashes($nota); 

$message " $todayis [EST] \n 
- ASUNTO: $asunto \n 
- ESCRIBE: $nombre ($email)\n 
- DOMICILIO: $domicilio\n 
- TITULO DEL MENSAJE: $asunto\n 
- MENSAJE: 
$nota \n


------------------------------------------------------------------------------------------------------------------------------------\n
- INFORMACION ADICIONAL: IP = $ipi \n
- NAVEGADOR USADO: $httpagenti \n
- SE CONTACTO DESDE LA PAGINA: $httprefi \n
"
;
ini_set(sendmail_from,'[email protected]');

$from "From: Formulario desde la web $email\r\n";


mail("recepcion@midominio"$subject$message$from);

?>
En el hosting el único dato que me envian es el servidor mail y una cuenta de contacto, pero sigue si funcionar. Tendría que colocar el servidor en algún lugar del formulario? como hago?