YOUR CODE : "'.htmlentities(stripslashes($p)).'" Code: "'.htmlentities(stripslashes($text)).'"
' ;
}
else{
//$MESSAGE = 'Correct!!! CODE: "'.stripslashes($_POST['code']).'"';
$foo = array(1 => "Name","Email","Phone","Address","City","Sitename","Company_Name","Business_Industry",
"Monthly_Budget","Preferred_Date","Website URL","Web_Site_Description");
$val = array(1 => $Name,$Email,$Phone,$Address,$City,$Sitename,$Companyname,$Business_Industry,
$monthly_budget,$Preferred_Date,$url,$Web_Site_Description);
if (($Name == "") && ($Email == ""))
{
echo "please enter your name to submit your information ";
echo "please enter your Email id to submit your information ";
}
if (($Name=="") && ($Email != ""))
{
echo "please enter your Name to submit your information ";
}
if (($Name !="") && ($Email == ""))
{
echo "please enter your Email id to submit your information ";
}
if(($Name != "") && ($Email != ""))
{
$to = "webpromotions@gmail.com,prashanthi@searchenginegenie.com,reena@searchenginegenie.com";
//$headers .= "Bcc: reena@searchenginegenie.com";
$subject="Request For SEO From Search Engine Optimization Services";
$mailbody= "USER LOGIN FORM INFORMATION \n";
for ($i=1;$i<=count($foo);$i++)
{
//echo $item, "\n";
//echo $HTTP_POST_VARS[$i];
$mailbody .= ' ';
$mailbody .= $foo[$i];
$mailbody .= " : ".$val[$i];
//$i++;
}
//echo $mailbody;
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */
//$headers .= "To: SITEOWNER\r\n";
$headers .= "To: SITEOWNER\r\n";
$headers .= "From:" . $Email;
/* and now mail it */
mail($to,$subject,$mailbody,$headers);
/*New page & code added to find conversions*/
$szURL="https://www.searchenginegenie.com/in/contact-thanks.html";
header ("Location: $szURL");
}
}
//$_SESSION[$CAPTCHA_SESSION_KEY] = NULL;
}
?>
Get Free Search Engine Optimization Quote, Request Free Quote for Search Engine Optimization, Free SEO Quote From Search Engine Genie