<?
// Enter your contact email address here
$adminaddress = "info@gr";
// Enter the address of your website here include http://www.
$siteaddress ="http://www.gr";
// Enter your company name or site name here
$sitename = ".gr";
/ **************************************************
No need to change anything below unless you want to add or subtract functions or change the wording of things sent back to the flash file ...
*****/
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action != ""):
mail("$adminaddress","EMail form",
"A visitor at $sitename has contacted you\n
Personal Info
Name: $fname
Last Name: $lname
E-mail: $email
Website: $webs
Comments: $comment
Logged Info :
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress");
//This sends a confirmation to your visitor
mail("$email","name",
"$fname, thanx for contacting\n
Adios\n
$sitename
$siteaddress","FROM:$adminaddress");
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you for applying.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";
endif;
?>