:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/nta.net.au/old/**
:: Editing File: sendmail.php
<?php /* error_reporting(1); echo "<pre>"; print_r($_POST); die; */ ?> <?php if (isset($_POST['name'])) { $message=""; extract($_POST); $to = "info@nta.net.au"; //$to = "harshadvalani1993@gmail.com,info@nta.net.au"; //$to = "manish.mbtb@gmail.com,support@natushealth.com"; //$to = "info@sukhadaworld.com,sukhadaworld@gmail.com"; $subject = "National Training Alliance Website Inquiry"; $message = " <html> <head> <title> National Training Alliance Website Inquiry</title> </head> <body> <table> <tr> <th>Name : </th><td>".$name."</td> </tr> <tr> <th>Contact : </th><td>".$phone."</td> </tr> <tr> <th>Email : </th><td>".$email."</td> </tr> <tr> <th>Service : </th><td>".$service."</td> </tr> <tr> <th>Message : </th><td>".$message1."</td> </tr> </table> </body> </html> "; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From:National Training Alliance<info@sukhadaworld.com>' . "\r\n"; if (mail($to,$subject,$message,$headers)) { ?> <script> alert("Thank you for contacting us,We will get back to you soon!"); window.location.href='index.php'; //header('Location: index.html'); </script> <?php } } else { ?> <script> alert("Mail Issue"); window.location.href='contact.php'; // header('Location: index.html'); </script> <?php } ?>