PHP Contact Form
I would like a PHP Contact Form that would be simple for me to edit and use for my business site that runs on windows.
Thanks
Newbie
Status:
Open Jun 26, 2009 - 11:09 AM
windows, PHP, forms, vista, email, Web Design, programming
3answers
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 = <<
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
Answer this question
Share Your Own Experience & Expertise
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
Add New Comment