Answers
Jun 26, 2009 - 11:12 AM
Ah i was just going thru my old php files and found this:
Email: $email
Name: $name
Phone Number: $phone
Budget: $budget
Number Of Travelers: $travelers
Comments: $comments
Newsletter: $newsletter
EOD;$headers = "From: $email\r\n";$headers .= "Content-type: text/html\r\n";$success = mail($webMaster, $emailSubject, $body, $headers);/* Results Rendered as HTML */$theResults = <<
Email: $email
Name: $name
Phone Number: $phone
Budget: $budget
Number Of Travelers: $travelers
Comments: $comments
Newsletter: $newsletter
EOD;$headers = "From: $email\r\n";$headers .= "Content-type: text/html\r\n";$success = mail($webMaster, $emailSubject, $body, $headers);/* Results Rendered as HTML */$theResults = <<
Sep 15, 2009 - 10:22 AM
Adding a comment about the above in case any one finds this via a search (as i did). Be EXTREMELY cautious with the code above. It has no input validation and using it will at some point turn your server into a spam relay.
Sep 15, 2009 - 10:24 AM
"Adding a comment about the above in case any one finds this via a search (as i did). Be EXTREMELY cautious with the code above. It has no input validation and using it will at some point turn your server into a spam relay."
Man he asked for a simple contact form and i gave him that
Man he asked for a simple contact form and i gave him that
Add New Comment