Click to See Complete Forum and Search --> : PHP mail form validation (????)
AudioJunkie
09-02-2003, 10:11 AM
first things first, I am a total novice at web site building. I am trying to incorporate a mail form page on my site that visitors can use to post me feedback. Now i'm still getting to grips with HTML, let alone things like PHP and MySQL. Now I have actually built the form, but I can't grasp at all is how the information gets posted to an e-mail address when someone clicks on the submit button after filling out the form. If somone can explain this to me, please go slow and don't take for granted that i have a certain level of knowledge. I'm sure this must be an easy question to someone out there.
Thanks for your time
P.S If you haven't guessed I'm using Dreamweaver MX.:confused:
Elizabeth
09-02-2003, 11:15 AM
HTML itself doesn't have the capabilities to allow your visitors to send you an email except for the email link which uses their own default email program to pop up a blank email with your name in it. They would then fill it out and send it to you. This email link can be easily inserted with Dreamweaver- it's the envelope icon.
If you're talking about a customized form where people fill out customized fields, you will need some sort of actual program written in a progamming language (like PHP, CGI, whatever) which would be the "action" of the HTML form.
PHP provides a simple mail function that can do this, it just needs some customization. You can read about it by going to the PHP manual - mail. Save that code in a .php file and make your "action" point to the file.
Hope that helps-
-Elizabeth
TheIceman5
09-13-2003, 09:16 AM
i reckon you need to go search google for a beginners tutorial, be easier for ya.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.