1. Home
  2. Computing & Technology
  3. Web Design / HTML

Using Forms and CGI

By , About.com Guide

1 of 6

Create a Form and Have the Results Sent by Email

The most common use of CGI on a Web site is to automate forms. When you write a form, it will not work unless there is a CGI program running on the back end to make it work. A CGI script that is the back-end for a form must be able to decode the form data, and then do something with it.

For this article, I will show you how to write a simple form, and how to create a CGI that parses the form data and then sends the data via email to you.

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. Web Design Articles R-Z
  6. Web Design/HTML Articles U
  7. Using Forms and CGI>

©2009 About.com, a part of The New York Times Company.

All rights reserved.