Por favor escriba su nombre! ';
}
else if(trim($email) == '')
{
$error = 'POr favor indique su direccion Email! ';
}
else if(!isEmail($email))
{
$error = 'Su Email no es valido, por favor intente de nuevo!! ';
}
if(trim($subject) == '')
{
$error = 'Indique el asunto del mensaje! ';
}
else if(trim($message) == '')
{
$error = 'Escriba su mensaje! ';
}
else if(trim($spamcheck) == '')
{
$error = 'REalice la suma para controlar el Spam! ';
}
else if(trim($spamcheck) != '5')
{
$error = 'Control Spam: El resultado de la suma no es correcta! 2 + 3 = ??? ';
}
if($error == '')
{
if(get_magic_quotes_gpc())
{
$message = stripslashes($message);
}
// the email will be sent here
// make sure to change this to be your e-mail
$to = "info@radiorockonline.com";
// the email subject
// '[Envio formulario] :' will appear automatically in the subject.
// You can change it as you want
$subject = '[Contacto web] : ' . $subject;
// the mail message ( add any additional information if you want )
$msg = "From : $name \r\ne-Mail : $email \r\nSubject : $subject \r\n\n" . "Message : \r\n$message";
mail($to, $subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n");
?>
Enviado
Gracias
=$name;?>
, le responderemos lo antes posible!
Contactese con nosotros:
=$error;?>
|