All pastes #517128 Raw Edit

contact.php

public php v1 · immutable
#517128 ·published 2007-05-28 23:40 UTC
rendered paste body
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Sendemail Script</title></head><body><!-- Reminder: Add the link for the 'next page' (at the bottom) --><!-- Reminder: Change 'YourEmail' to Your real email --><?phpif(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))){echo "<h2>Use Back - Enter valid e-mail</h2>\n";$badinput = "<h2>Feedback was NOT submitted</h2>\n";echo $badinput;}if(empty($visitor) || empty($visitormail) || empty($notes )) {echo "<h2>Use Back - fill in all fields</h2>\n";}$todayis = date("l, F j, Y, g:i a") ;$attn = $attn ;$subject = $attn;$notes = stripcslashes($notes);$message = " $todayis [EST] \nCompany Name: $companyname \nPhone: $phone \nContact: $Contact \nTitle: $Title \nEmail: $email \nwebsite: $website \nFrom: $visitor ($visitormail)\nAdditional Info : IP = $ip \nBrowser Info: $httpagent \nReferral : $httpref \n";$from = "From: $visitormail\r\n";mail("laura.lugash@gmail.com", $companyname, $phone, $Contact, $Title, $email, $website, $$from);echo "Thank you.  You will be hearing from us shortly!";?></body></html>