cgihtml is a collection of routines for parsing World Wide Web (WWW) Common Gateway Interface (CGI) input and outputting HyperText Markup Language (HTML).
Additionally, I have attempted to include general routines which CGI programmers often find themselves using. Consequently, some of the complexities of CGI programming are hidden. On the other hand, if you want to know what's going on, source is included.
However, interpreted scripting languages tend to be relatively large. This rarely has a major effect on the performance of your server (unless you are a high-traffic site). However, if this is a concern of your's, a program written in C is often several times smaller than the equivalent program written in Perl. There's definitely a performance improvement when using CGI programs written in C, although the performance is not likely to be noticeable.
Additionally, some servers (notably Netsite and Apache) have APIs so that CGI programs can be written as extensions to the server, rather than as separate programs. This greatly improves performance, especially on high-traffic sites. The best way to take advantage of these APIs is to write your programs in C.
Or, you might fall under one of the following categories:
Old function name New function name ----------------- ----------------- ReadParse read_cgi_input val cgi_val PrintHeader html_header MethodGet method_get PrintEntries print_entries
README - Read this first CHANGES - version revision information TODO - Things I want to eventually implement docs/ - Documentation directory debug-cgi.sh - Shell script to help debug CGI code cgi-lib.c - Source code html-lib.c llist.c string-lib.c cgi-lib.h - Header files for routines html-lib.h llist.h string-lib.h query-results.c - Example programs mail.cgi.c index-sample.cgi.c nph-ignore.cgi.c