Sindbad~EG File Manager

Current Path : /var/www/web2/mail/
Upload File :
Current File : /var/www/web2/mail/~phpdesigner_output_tmp.php

<?php
session_start();
?>

<html>
<head>
	<title>LANZADOR DE MAILS</title>
</head>
<body>
<center>
<img src="upualogo.jpg"></img>
<br><br>
<font face="arial">


<?php

$desde = $_SERVER['HTTP_REFERER']; //me guardo desde que p�gina vengo

//esta condici�n evita que la p�gina envie mail de forma no admitida, no cambiarla
if( ($_SESSION["captcha"]!= NULL) && ($_SESSION["captcha"]==$_POST["captcha"]))
{
    //CAPTCHA is valid; proceed the message: save to database, send by e-mail ...
      $email = $_REQUEST['email'] ;
  		$nombre = $_REQUEST['nombre'] ;
    $direccion = $_REQUEST['direccion'] ;
      $telf = $_REQUEST['telf'] ;
      $rol = $_REQUEST['rol'];
      $asunto = $_REQUEST['asunto'];
      $poblacion = $_REQUEST['poblacion'];
      
      $mensaje1= "Persona interesada en participar:";
      $mensaje2= "\n Nombre: " . $nombre;
      $mensaje3= "\n Direcci�n: " . $direccion;
      $mensaje3_1= "\n Poblaci�n:" . $poblacion;
      $mensaje4= "\n Tel�fono: " . $telf;
      $mensaje5= "\n Rol: " . $rol;
      $mensaje6= "\n Email: " . $email;
      $mensaje = $mensaje1 . $mensaje2 . $mensaje3 . $mensaje3_1 . $mensaje4 . $mensaje5 . $mensaje6;
      
      $mensaje1= "Persona interesada en participar:";
      $mensaje2= "<br> Nombre: " . $nombre;
      $mensaje3= "<br> Direcci�n: " . $direccion;
      $mensaje3_1= "<br> Poblaci�n:" . $poblacion;
      $mensaje4= "<br> Tel�fono: " . $telf;
      $mensaje5= "<br> Rol: " . $rol;
      $mensaje6= "<br> Email: " . $email;
      $mensajeHtml = $mensaje1 . $mensaje2 . $mensaje3 . $mensaje3_1 . $mensaje4 . $mensaje5 . $mensaje6;

//envio del email
//  mail( "upua.alumnado@ua.es", $asunto,
  mail( "a.lopez@ua.es", $asunto,
    $mensaje, "From: $email" );
//  header( "Location: http://www.example.com/thankyou.html" );
?>
Se ha enviado la siguiente informaci�n <b>CORRECTAMENTE</b>:

<br><?=$mensajeHtml?>
<?  
}else
{
 ?>
Error en el c�digo de la imagen de verificaci�n, <b>no se ha enviado ninguna informaci�n.</b><br>
Vuelve a intentarlo, gracias.

	
<?	
	
	
}


?>
<BR><BR>
    <a href="<?=$desde?>">ATRAS</a>

</font>
</center>
</body></html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists