WebMaster icon, Lecture 4

CGI Basics

Common Gateway Interface

The http server passes info from the client to the cgi program

"cgi" program stays actively linked to your client until done

"acgi" program is asynchronous and forgets about the client after each bit of data is served









"HTML is a easy as H***!"


Prev | Next | Improving Your Home Page with Tables, Backgrounds, CGIs, Counters


cgi diagram:

A Common Gateway Interface or cgi program must run on a server machine. It receives requests from the http server in response to actions by the browser. Since it must run on the server machine, you must either always leave the cgi program running or have a way for it to automatically start. I would get examples of cgi programs off the net and try to modify them. This is not easy stuff.

On a Mac server, a simple way to do cgi is with AppleScript. This is much easier than working in "C".

cgi programs are used to run counters, design custom pages and respond to the data provided by forms.

A good reference page for html with a weird name is "HTML is a easy as H***!".


Prev | Next | Improving Your Home Page with Tables, Backgrounds, CGIs, Counters


'The WebMaster Speaks....' 4-3

Webmaster Lectures
Welcome to a series of lectures on the World Wide Web
Home | Lectures overview | Lecture 1 | Lecture 2 | Lecture 3 | Lecture 4 | Lecture 5 | Lecture 6 | Lecture 7 | Lecture 8



Membership

Login





Last update: Tuesday, July 11, 2000 at 9:14:54 PM.
Go to John Koch's home page or send him a message.