Wednesday, June 17, 2009

How do I add a form to my website that would allow people to email their information?

I am VERY new to making a website. I need to know exactly what steps to take to add a form, that people can email their information, to my website. ANY HELP would be greatly appreciated. I know there has to be some GREAT web designers on here. HELP THE HELPLESS!!!!! PLEASE

How do I add a form to my website that would allow people to email their information?
The easiest way is with php.


Here is a site with an example you can use


http://www.ibdhost.com/contact/
Reply:There are a couple ways to approach the object of enabling the User to send a message.





If you use a form, ordinarily the form would upload (post) information to the Server and then you would need code to gather the information, insert it into the correct fields for a message and then process the message (send to an SMTP server). Because this method requires server-side processing, what you actually do would depend on what kind of technology your website supports (PHP?ASP?ASPX?JSP?CFM? Something else?).





A simple HTML alternative for a new coder is to invoke the mail client on the machine instead of trying to collect and process the data. To do this, the simple line of code would be something like the following


%26lt;a href= "mailto:you@youremailaddy"%26gt; you@youremailaddy %26lt;/a%26gt;


No comments:

Post a Comment