This is the form:
Code:
<?
/******************************************************
**
** Flash Mx PHP Mailer
**
** By - David Khundiashvili
*******************************************************/
/*******************************************************
Enter your site details below!
*******************************************************/
// Enter your contact email address here
$adminaddress = "info@xxxxxxx";
// Enter the address of your website here include http://www.
$siteaddress ="http://www.xxxxxx";
// Enter your company name or site name here
$sitename = "xxxxx";
/*******************************************************
No need to change anything below ...
*******************************************************/
$date = date("d/m/Y H:i:s");
if ($REMOTE_ADDR == "") server_IP = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
if ($action != ""):
mail("$adminaddress","Formulario xxx",
"Alguien visitó $sitename y te ha dejado la siguiente información\n
Nombre: $fname
Apellido: $lname
Email: $email
Teléfono: $telno\n
Mensaje:
------------------------------
$comments
Información de conexión :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress");
mail("$email","Gracias por visitar $sitename",
"Hola $fname,\n
Gracias por dejar su mensaje en $sitename!\n
Saludos,
$sitename
$siteaddress","FROM:$adminaddress");
$sendresult = "¡Gracias!";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";
endif;
?>