How do I generate web pages from a program (CGI)? Are there libraries to make it easier?

Most web servers support one variation or another of a standard for adding your own programs to the web server. The standard is called CGI (Common Gateway Interface).

Marc Hedlund has written a FAQ on CGI programming (URL is <URL:http://www.best.com/~hedlund/cgi-faq/> ) which makes a good introduction to the subject. The standard itself can be found at NCSA (URL is <URL:http://hoohoo.ncsa.uiuc.edu/> ).

For tips on overcoming common CGI problems, consult the CGI problems section and the section on granting CGI access to users.

Perl CGI programmers will be interested in the CGI Perl modules <URL:http://www-genome.wi.mit.edu/WWW/tools/scripting/CGIperl/>, which provide an elegant Perl 5 interface to CGI programming.

C-language CGI programmers will want to consider the author's cgic library <URL:http://sunsite.unc.edu/boutell/cgic/cgic/html>

C-language CGI programmers of the Macintosh system should check out Grant's C-language CGI framework for the Mac. <URL:http://arpp.carleton.ca/grant/mac/grantscgi/>


World Wide Web FAQ