*/ if(isset($_POST['code'])){ $text = isset($_SESSION[CAPTCHA_SESSION_KEY])? $_SESSION[CAPTCHA_SESSION_KEY] : NULL; if(!$p =trim($_POST['code'])){ $MESSAGE = '
Error: no code submited!!
'; } else if(!checkCaptchaCode($p)){ $MESSAGE = '
Error: Invalid code submited!!
YOUR CODE : "'.htmlentities(stripslashes($p)).'"
Code: "'.htmlentities(stripslashes($text)).'"
' ; } else{ //$MESSAGE = 'Correct!!!
CODE: "'.stripslashes($_POST['code']).'"'; $foo = array(1 => "Name","Email","Phone","Address","City","Site Name","Company Name","Service1","Service2","Service3","Done Campaign Before", "Running Campaign Now", "If Yes Which PPC Search Engine", "Business Industry", "Monthly Budget","Preferred Date","Web Site URL","Web Site Description",'Plan'); $val = array(1 => $Name,$Email,$Phone,$Address,$City,$SITENAME,$COMPANY_NAME,$service1,$service2,$service3,$prev_campaign, $now_campaign,$ppc_search_engine, $Business_Industry,$Monthly_Budget,$Preferred_Date,$url,$Web_Site_Description, $plan); 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 PPC 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; } ?>


SEO Home Pay Per Click Management Services Pay Per Click Request Quote