Project 2 - Forms calling CGI Scripts |
| Contents included in this project: |
Project Description and Write-upFor the project, there are included in this page, two search forms that call two different CGI scripts - both located at different sites on the Internet. The forms included on this page call these scripts even though they are not located on the same machine. In order to facilitate these forms, the most important step includes getting the "action=http:// . . . " statement right. This action statement calls the appropriate script at the appropriate location at the target machine hosting the script. Without doing this correctly, the data collected in the form is destined for failure! |
Example One - Form to Yahoo Advanced SearchHere is an example of a form calling a CGI routine at the Yahoo site. The defaults have been changed! For example purposes, the form is taken almost exactly as it is from the website. The original site is:
|
| help Yahoo! Usenet |
|
|
|
| Find only new listings added during the past | |
| After the first result page, display matches per page | |
| Please note that most of the options selected will not be
carried over to other search engines. search tips | advanced search syntax Copyright © 1994-1999 Yahoo! All rights reserved. |
|
Example Two -Here is an example of a form calling a CGI routine at Mapquest.com. The defaults have been changed as well. The original site is: www.mapquest.com |
Other Form Examples -Here are other examples of forms I have implemented that call CGI scripts:
Another example is the wedding website I started for Project #1.
I have expanded the site to include two forms, the MapQuest one above, and
a form calling a formmail script that sends me information on tuxedo sizes
as the groomsmen submit the forms. The URL for this is www.imwiz.com/weddingsite/mainsite/ceremonyframes.htm.
The tuxedo form is accessed from the frame on the left side. |