| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/handjobcafe.com/public_html/phj/ |
Upload File : |
<html>
<head>
<title>Contact Us</title>
<style>
html { width:100%;padding:0;margin:0; }
body { background-color:#FFF;width:100%;padding:0;margin:0; font-family:Lato; }
#wrapper { width:90%; margin:40px auto; }
h2 { text-align:center; font-weight:900; }
@import url(http://fonts.googleapis.com/css?family=Lato:400,900);
</style>
</head>
<body>
<div id="wrapper">
<?php if($_POST){
if($_POST['phone']){ # this field is hidden, so only spiders can submit it - now we simply deny form sending
} else {
$to = 'amacontent@yahoo.com';
$to_name = 'Joe';
$subject = 'Smoking Joes Contact Form';
$message = '
From: ' . $_POST[name] . '<br>
Email: ' . $_POST[email] . '<br>
Subject: ' . $_POST[subject] . '<br><br>
Message: ' . $_POST[message] . '<br>
';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'To: ' . $to_name . ' <' . $to . '>' . "\r\n";
$headers .= 'From: ' . $_POST[name] . ' <' . $_POST[email] . '>' . "\r\n";
mail($to, $subject, $message, $headers);
print '<div style="margin:20px;"><h2>Your message has been sent!</h2></div>';
}
} else { ?>
<form action="" method="POST">
<input type="hidden" name="phone" value="">
<h2>Fill in the form below to email us</h2>
<div style="width:30%;float:left;">Name: </div>
<div style="width:70%;float:left;"><input type="text" name="name" style="width:95%;" value=""></div>
<div style="width:30%;float:left;">Email: </div>
<div style="width:70%;float:left;"><input type="text" name="email" style="width:95%;" value=""></div>
<div style="width:30%;float:left;">Subject: </div>
<div style="width:70%;float:left;"><input type="text" name="subject" style="width:95%;" value=""></div>
<div style="width:30%;float:left;">Message: </div>
<div style="width:70%;float:left;"><textarea name="message" style="width:95%;margin:0 auto;"></textarea></div>
<div style="width:100%;margin:0 auto;text-align:center;">
<input type="submit" style="margin:20px;">
</div>
</form>
<?php } ?>
</div>
</body>
</html>