whoami7 - Manager
:
/
home
/
n170823s
/
www
/
forms
/
old
/
Upload File:
files >> /home/n170823s/www/forms/old/send.php
<?php if ($_SERVER["REQUEST_METHOD"] === "POST") { $to = "steservicesltd@gmail.com, satyam.it016@gmail.com"; $subject = "New Application Form Submission"; $message = "<h2>New Application Received</h2><table border='1' cellpadding='6' cellspacing='0'>"; foreach ($_POST as $key => $value) { if (is_array($value)) { $value = implode(", ", $value); } $message .= "<tr><td><strong>" . ucfirst(str_replace("_", " ", $key)) . ":</strong></td><td>" . htmlspecialchars($value) . "</td></tr>"; } $message .= "</table>"; $headers = "From: contact@nvqandcourses.co.uk\r\n"; $headers .= "Reply-To: contact@nvqandcourses.co.uk\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; if (mail($to, $subject, $message, $headers)) { echo "<h2>✅ Thank you! Your application has been submitted successfully.</h2>"; } else { echo "<h2>❌ Sorry, something went wrong. Please try again.</h2>"; } } ?>
Copyright ©2021 || Defacer Indonesia