D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
epksuofuukz9
/
public_html
/
Filename :
certificate-send.php
back
Copy
<?php session_start(); if(isset($_POST['submit'])) { $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; $timefrom=$_POST['timefrom']; $timeto=$_POST['timeto']; $remark=$_POST['remark']; $captcha=$_POST['captcha']; $to = 'certificate@bismilsoft.com'; $subject = 'Website Enquiry Form'; $req='Career'; $message =' <html> <head> <title>Website Certificate Form</title> </head> <body> <p style="font-family:Arial, Helvetica, sans-serif; color:#FF0000; font-size:16px; font-weight:600;">BismilSoft Pvt. Ltd. </p> <p style="font-family:Arial, Helvetica, sans-serif; color:#FF0000; font-size:16px; font-weight:600;">Request Certificate Form </p> <table width="500" border="1" style="border:1px solid #CCCCCC;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px; border-collapse:collapse;" > <tr style="background:#f5f5f5"> <td style="border-bottom:0px dotted black;padding:5px; color:#0066FF; font-weight:600; font-size:13px;" width="123"> Full name</td> <td style="border-bottom:0px dotted black;padding:5px;" width="361">'.$name.'</td> </tr> <tr style="background:#f5f5f5"> <td style="border-bottom:0px dotted black;padding:5px; color:#0066FF; font-weight:600; font-size:13px;" width="123"> Email address </td> <td style="border-bottom:0px dotted black;padding:5px;" width="361">'.$email.'</td> </tr> <tr style="background:#f5f5f5"> <td style="border-bottom:0px dotted black;padding:5px; color:#0066FF; font-weight:600; font-size:13px;" width="123"> Phone Number </td> <td style="border-bottom:0px dotted black;padding:5px;" width="361">'.$phone.'</td> </tr> <tr style="background:#f5f5f5"> <td style="border-bottom:0px dotted black;padding:5px; color:#0066FF; font-weight:600; font-size:13px;" width="123"> Time Period From</td> <td style="border-bottom:0px dotted black;padding:5px;" width="361">'.$timefrom.'</td> </tr> <tr style="background:#f5f5f5"> <td style="border-bottom:0px dotted black;padding:5px; color:#0066FF; font-weight:600; font-size:13px;" width="123"> Time Period To </td> <td style="border-bottom:0px dotted black;padding:5px;" width="361">'.$timeto.'</td> </tr> <tr style="background:#f5f5f5"> <td style="border-bottom:0px dotted black;padding:5px; color:#0066FF; font-weight:600; font-size:13px;" width="123">Remark</td> <td style="border-bottom:0px dotted black;padding:5px;" width="361">'.$remark.'</td> </tr> </table> </body> </html>'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: $req <info@bismilsoft.com>" . "\r\n"; if($_SESSION['vercode']== $captcha) { mail($to, $subject, $message, $headers); echo "<script>window.alert('Thank you for filling out your information!');</script>"; echo"<script> window.open('/','_self'); </script>"; } else { echo "<script>window.alert('You Entered an incorrect number');</script>"; echo"<script> window.history.back(); </script>"; } } ?>