|
|
|
ASP, CGI and PHP Scripts and Record-Locking: What Every Webmaster Needs To Know
Many of us install server-side (ASP, CGI or PHP) scripts on our web sites, and many of this scripts store data on the server. However, poorly designed scripts can experience performance problems and sometimes even data corruption on busy (and not so...
Free Hosting - A Real Bargain?
With the availability of many free hosting offers so prevalent on the Internet, are they the bargain they seem to be? I must admit the offer of free hosting does have major appeal however, rarely is something of value given away for nothing. At...
"We Were Taught To Say 'Thank You' ...
"We Were Taught To Say 'Thank You' ... Have We Forgotten HOW?" copyright 2002 John Evans When you get an order, do you remember to say Thanks to your customer? If someone requests information from you, or even your autoresponder, does the...
Web Site Management: Statistics
Statistics are your most important resource! Used properly, web site statistics will tell you who is visiting your site, where they came from, what search engines they used, their browser types and even their monitor resolutions. These statistics...
Website Updates are a SNAP With Server Side Includes
If you ever had to make a change to your website that needed to be carried onto every page, you know what a tedious job it is.Well, have I got news for you. It doesn't have to be. Welcome to the world of Server Side Includes, also known as SSI. The ...
|
|
| |
|
|
|
|
|
|
Creating An Email Form
Occasionally it is necessary to get some kind of information from your visitors. One way to do this is to embed your email address, as a "mailto" tag, directly on all of your web pages. This is not recommended for the following reasons.
Embedded email addresses are vulnerable to spam spiders. These are special programs which scan web pages looking for email addresses. These addresses are then sent spam emails.
- You cannot format your questions. - You cannot validate the answers to the questions - You have no control over the visitor's experience of the data entry.
All right, if you do not embed email addresses into your web pages, how do you get data from your visitors? It's simple - just create an email form.
Before you can begin you must obtain a forms processor. This can be done using a service such as Bravenet or you can install one on your own server (if this is allowed by your host provider). In these examples I will be assuming you are using the Bravenet forms processor.
There are hundreds of different sites that will remotely host forms for you, and if none of those will serve your needs you can set up CGI routines on your own server (assuming your hosts supports them).
Once you have registered with your forms provider (in these examples I am assuming you use Bravenet) you can begin creating your form. You will need some information before you start:
- The name of the forms processing routine - The names of any parameters which are needed by this routine
These items should be described in the documentation, FAQ or help files for the forms system.
Now you need to include the appropriate HTML code on your page to create the form. A simple form consists of two tags (there are other tags, but we will not go into them in this article)
That's all there is to using a simple form to get data from your visitors.
About the Author
Richard Lowe Jr. is the webmaster of Internet Tips And Secrets. This website includes over 1,000 free articles to improve your internet profits, enjoyment and knowledge. Web Site Address: http://www.internet-tips.net Weekly newsletter: http://www.internet-tips.net/joinlist.htm Daily Tips: mailto:internet-tips@GetResponse.com
|
|
|
|
|
|