Available C++ Libraries FAQTools for C++ ProgrammersCGI.h C++ include file - Defines a CGI object and access methodsCGI.h is a C++ #include file that allows a 'CGI' object to be created then HTML tags generated via methods.Here is an example.. #include <iostream.h> #include <stdlib.h> #include <string.h> #include "CGI.h" int main() { CGI c; c.comment("A test CGI page by Trans-Euro It Ltd"); c.start_html("Stephen Martin tigger@marketrends.net", "Test CGI Page- written using C++ Include file", "white"); char cgiurl[]="http://www.mydomain.com/cgi-bin/CGI.cgi"; char method[] ="post"; c.form_start(cgiurl,method); c.submit(9; c.form_end(); c.end_html(); exit(0); }
Operating Systems
Compilers
Added : 2000-04-26 Amended: 2000-04-26 Licensing : Public Domain
|
Our ads
Buy gold
Beat the credit crunch - buy gold online - quickly, safely and at low prices
www.bullionvault.com
|
Copyright (c) 2024 Nikki Locke, Trumphurst Ltd.
Permission is granted to distribute over the Internet without charge.
The author's permission is required (and usually given) to distribute
in any other way, including on CD.