:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/www/demo/vasanigroup.com/**
:: Editing File: mail.php
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $name = htmlspecialchars($_POST['name']); $email = htmlspecialchars($_POST['email']); $phone = htmlspecialchars($_POST['phone']); $msg = htmlspecialchars($_POST['msg']); // Email configuration $to = "harshad.mbtb@gmail.com"; $subject = "Contact Form Submission from $name"; $body = "Name: $name\nEmail: $email\nPhone: $phone\nMessage: $msg"; $headers = "From: www.vasanigroup.com\r\n"; // Send email and redirect with status // if (mail($to, $subject, $body, $headers)) { if ($_SERVER["REQUEST_METHOD"] == "POST") { header("Location: contact.php?status=success"); } else { header("Location: contact.php?status=error"); } } else { header("Location: contact.php?status=error"); } exit(); ?>