:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/finartindia.com/trash/temp/**
:: Editing File: mail.php
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $name = $_POST['name']; $phone = $_POST['phone']; $comments = $_POST['comments']; $to = "info@finartindia.com"; // CHANGE THIS $subject = "Enquiry Mail www.finartindia.com"; $message = " <html> <body> <h3>New Contact Form Enquiry</h3> <p><strong>Name:</strong> $name</p> <p><strong>Phone:</strong> $phone</p> <p><strong>Message:</strong> $comments</p> </body> </html>"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type:text/html;charset=UTF-8\r\n"; $headers .= "From: Website <no-reply@yourdomain.com>\r\n"; if (mail($to, $subject, $message, $headers)) { // SUCCESS ALERT + REDIRECT TO INDEX echo "<script> alert('Message sent successfully!'); window.location.href='index.php'; </script>"; } else { // ERROR ALERT + REDIRECT TO CONTACT PAGE echo "<script> alert('Error! Message not sent.'); window.location.href='contact.php'; </script>"; } } ?>