/
home
/
datanoc
/
public_html
/
Upload File
HOME
<?PHP $captcha; if(isset($_POST['g-recaptcha-response'])){ $captcha=$_POST['g-recaptcha-response']; } if(!$captcha){ echo '<h2>Please go back and check the captcha form.</h2>'; exit; } $secretKey = "6LdVnUYUAAAAAENsr-Lxi2T8AVxeQX08etxEqBwX"; $ip = $_SERVER['REMOTE_ADDR']; $response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$secretKey."&response=".$captcha."&remoteip=".$ip); $responseKeys = json_decode($response,true); if(intval($responseKeys["success"]) !== 1) { echo '<h2>You are spammer! You are ignored.</h2>'; } else { $todaydate = date("M j, Y, g:ia"); $ipaddress = $_SERVER['REMOTE_ADDR']; $browser = $_SERVER['HTTP_USER_AGENT']; $message .= "<pre>\r\n"; $message .= "Add new event assigned to <b>Anyone/2</b>\r\n\r\n"; $message .= "<b>CustomerID:</b> ".$customerid."\r\n"; $message .= "<b>Full Name:</b> ".$fullname."\r\n"; $message .= "<b>Emailaddress:</b> ".$emailaddress."\r\n\r\n"; if ($domain1 != "" || $domain2 != "" || $domain3 != "" || $domain4 != "") { $message .= "<b><u>Add Domain</u></b>\r\n"; if ($domain1 != "") { $message .= "<b>Domain1:</b> ".$domain1."\r\n"; $message .= "<b>Web IP :</b> ".$webip1."\r\n"; $message .= "<b>Mail IP:</b> ".$mailip1."\r\n"; $message .= "<b>Mail :</b> ".$mailserver1."\r\n"; $message .= "\r\n"; } if ($domain2 != "") { $message .= "<b>Domain2:</b> ".$domain2."\r\n"; $message .= "<b>Web IP :</b> ".$webip2."\r\n"; $message .= "<b>Mail IP:</b> ".$mailip2."\r\n"; $message .= "<b>Mail :</b> ".$mailserver2."\r\n"; $message .= "\r\n"; } if ($domain3 != "") { $message .= "<b>Domain3:</b> ".$domain3."\r\n"; $message .= "<b>Web IP :</b> ".$webip3."\r\n"; $message .= "<b>Mail IP:</b> ".$mailip3."\r\n"; $message .= "<b>Mail :</b> ".$mailserver3."\r\n"; $message .= "\r\n"; } if ($domain4 != "") { $message .= "<b>Domain4:</b> ".$domain4."\r\n"; $message .= "<b>Web IP :</b> ".$webip4."\r\n"; $message .= "<b>Mail IP:</b> ".$mailip4."\r\n"; $message .= "<b>Mail :</b> ".$mailserver4."\r\n"; $message .= "\r\n"; } } $message .= "\r\n"; $message .= "\r\n"; if ($moddomain1 != "" || $moddomain2 != "" || $moddomain3 != "" || $moddomain4 != "") { $message .= "<b><u>Modify Domain/Subdomain</u></b>\r\n"; if ($moddomain1 != "") { $message .= "<b>Domain1:</b> ".$moddomain1."\r\n"; $message .= "<b>IP :</b> ".$modip1."\r\n"; $message .= "\r\n"; } if ($moddomain2 != "") { $message .= "<b>Domain2:</b> ".$moddomain2."\r\n"; $message .= "<b>IP :</b> ".$modip2."\r\n"; $message .= "\r\n"; } if ($moddomain3 != "") { $message .= "<b>Domain3:</b> ".$moddomain3."\r\n"; $message .= "<b>IP :</b> ".$modip3."\r\n"; $message .= "\r\n"; } if ($moddomain4 != "") { $message .= "<b>Domain4:</b> ".$moddomain4."\r\n"; $message .= "<b>IP :</b> ".$modip4."\r\n"; $message .= "\r\n"; } } $message .= "\r\n"; $message .= "\r\n"; if ($revip != "") { $message .= "<b><u>Reverse DNS</u></b>\r\n"; $message .= $revip."\r\n"; } $message .= "\r\n"; $message .= "\r\n<b><u>Special Instructions:</u></b>\r\n $comments\r\n"; $message .= "\r\n"; $message .= $todaydate . "\r\n"; $message .= $ipaddress . "\r\n"; $message .= $browser . "\r\n"; $message .= "\r\n"; $message .= "\r\n"; $message .= "</pre>\r\n\r\n"; $toemail = "support@hostik.com"; $headers = "From: Webmaster <webmaster@lanset.com>\r\n"; $headers .= "Content-Type: text/html; charset=\"iso-8859-1\"\r\n"; $subject = "Hostik Form: DNS Domain Name request\r\n"; mail($toemail, $subject, $message, $headers); $toemail = "billing@lanset.com"; $headers = "From: Webmaster <webmaster@lanset.com>\r\n"; $headers .= "Content-Type: text/html; charset=\"iso-8859-1\"\r\n"; $subject = "Hostik Form: DNS Domain Name request\r\n"; mail($toemail, $subject, $message, $headers); } // this bracket closes the recaptcha ?> <HTML><head><title>Add domain to Lanset DNS Server</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- td,p,body,input,select,textarea { font-size: 12px; font-family: arial} a {color: blue} a:hover {color: red} .gray { color: #666666;} .red { color: red} .blue { color: blue} i { color: #777777} hr { color: #0054A6} .section { color: #0054A6; text-decoration: underline; font-size: 13px;} pre { padding: 8px; border: 1px dashed #0054A6; color: black; background-color: #f7f7f7; } ul,ol {margin: 0 0 0 25px;} --> </style> <SCRIPT> <!-- // --> </SCRIPT> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td bgcolor="f7f7f7" style="border-color: #666666;border-style: solid; border-width: 0px 0px 1px 0px"><img src="lanset-logo-116x74.png"></td></tr> <tr> <td style="padding: 10px" valign="top"> <div align=right></div> <p><b style="font-size: 16px; color: #0054A6"><br> <br> Your request will be processed shortly.<br> For checking the status of your request please use the NSLOOKUP command to verify before contacting us. </b><br> Thank you ! <br> <br> <br> <br> <br> <br> <br> <br> </td></tr> </table> </body></html>