window.onload = function() { document.getElementById("6_letters_code").focus(); }; '; }else{ $name = $_REQUEST['name']; $email = $_REQUEST['email']; $mobile = $_REQUEST['mobile']; $comment = $_REQUEST['comment']; // sms start $sms= "Inquiry contact Person: ".$name." Number: ".$mobile." ..dholeraproject.in"; $request =""; //initialise the request variable $param["method"]= "sendMessage"; //$param["send_to"] = "918511144396"; //$param[send_to] = "917069037351"; $param[send_to] = "918460336891"; $param["msg"] = "$sms."; $param["userid"] = "2000097027"; $param["password"] = "obis1234"; $param["v"] = "1.1"; $param["msg_type"] = "TEXT"; //Can be "FLASH”/"UNICODE_TEXT"/”BINARY” $param["auth_scheme"] = "PLAIN"; $param["mask"] = "OBISIN"; //Have to URL encode the values foreach($param as $key=>$val) { $request.= $key."=".urlencode($val); //we have to urlencode the values $request.= "&"; //append the ampersand (&) sign after each parameter/value pair } $request = substr($request, 0, strlen($request)-1); //remove final (&) sign from the request $url ="http://enterprise.smsgupshup.com/GatewayAPI/rest?" .$request; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $curl_scraped_page = curl_exec($ch); curl_close($ch); //sms end //email start require("/home/divyamatic/public_html/PHPMailer-master/src/Exception.php"); require("/home/divyamatic/public_html/PHPMailer-master/src/PHPMailer.php"); require("/home/divyamatic/public_html/PHPMailer-master/src/SMTP.php"); $subject="Website Contacus page from ".$name." - dholeraproject.in"; //$to = "info@dholeraproject.in "; $to = "kaneria28khushbu@gmail.com"; $emailbody= "
Website Enquiry Details
     
  Name : ".$name."
  Phone/ Mobile No : ".$mobile."
  Email : ".$email."
  Comment : ".$comment."
 
     
  Thanks.
Warm Regards,
Global Easy web Solution Team.
     
     
  Copyrights 2013. Global Easy Web Solution All Rights Reserved.
     
"; $mail = new PHPMailer\PHPMailer\PHPMailer(); $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = 'smtp.zoho.com'; // Specify main and backup SMTP servers or ssl://smtp.zoho.com $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Port = 465; // or 587 $mail->Username = 'server@dholeraproject.in'; // SMTP username $mail->Password = 'Bst18@1920'; // SMTP password $mail->SMTPSecure = 'ssl'; // Enable encryption, 'ssl' also accepted $mail->From = 'info@dholeraproject.in'; $mail->FromName = ' Pyramid Infra'; $mail->addAddress($to); // Add a recipient //$mail->addAddress('obisindia@yahoo.com'); // Name is optional $mail->addReplyTo(' info@dholeraproject.in', 'Inquiry'); //$mail->addCC($cc); //$mail->addBCC('bcc@example.com'); $mail->WordWrap = 50; // Set word wrap to 50 characters //$mail->addAttachment('pdf/'.$filename); // Add attachments //$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name $mail->isHTML(true); // Set email format to HTML $mail->Subject = $subject; $mail->Body = $emailbody; //$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; if(!$mail->send()) { echo 'Message could not be sent.'; echo 'Mailer Error: ' . $mail->ErrorInfo; } else { header("location:info.php"); } }} ?> Pyramid Infra

Contact Us

Get In Touch

Refresh '.$msg.''; } ?>
Mr. Prithvi
Mr. Ankit
A-1009, Titanium Heights, Opp. Vodafone House, Makarba, Ahmedabad-380015.
Top