]]jkjjgdjffksdkdxdsghfghdfghfgdfsdsdfsdfsfdsbcxvxcbccwewqeqwewqskfgj
במ12[cxvbcxvbxcvbcxvcxvbcvxcvbsdfsdfsdfsdfsdfsdfxcvbxcvxbbxqwqewqewv;'
/
home
/
u506006416
/
domains
/
prashantmittaladvocate.in
/
public_html
/
Upload FileeE
HOME
<?php //get data from form $to = "info@prashantmittaladvocate.in"; $from = $_REQUEST['from']; $name = $_REQUEST['name']; $mobile = $_REQUEST['mobile']; $subject = $_REQUEST['subject']; $email = $_REQUEST['email']; $message = $_REQUEST['message']; $headers = "From: $from"; $headers = "From: " . $from . "\r\n"; $headers .= "Reply-To: ". $from . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $subject = "Mail From Website"; $logo = 'img/logo.png'; $link = '#'; $body = "<!DOCTYPE html><html lang='en'><head><meta charset='UTF-8'><title>Express Mail</title></head><body>"; $body .= "<table style='width: 100%;'>"; $body .= "<thead style='text-align: center;'><tr><td style='border:none;' colspan='2'>"; $body .= "<a href='{$link}'><img src='{$logo}' alt=''></a><br><br>"; $body .= "</td></tr></thead><tbody><tr>"; $body .= "<td style='border:none;'><strong>Name:</strong> {$name}</td></tr>"; $body .= "<tr><td style='border:none;'><strong>Phone No:</strong> {$mobile}</td></tr>"; $body .= "<tr><td style='border:none;'><strong>Subject:</strong> {$subject}</td></tr>"; $body .= "<tr><td style='border:none;'><strong>Email:</strong> {$email}</td></tr>"; $body .= "<tr><td style='border:none;'><strong>Message:</strong> {$message}</td></tr>"; $body .= "</tbody></table>"; $body .= "</body></html>"; $send = mail($to, $subject, $body, $headers); if($send==true){ echo "<script>alert('Your form has been submitted successfully!')</script>"; //redirect echo '<script>window.location.href = "https://prashantmittaladvocate.in/thanku.php"</script>'; //header("location:thanku.php"); } else{ echo "<script>alert('Something went wrong')</script>"; } ?>