C++ with CGI

Posted on 1999-07-28
Medium Priority
Last Modified: 2010-05-18
I am new to C++ as CGI agent though I do have experience with CGI in perl.  How are the CGI variables named in C++ and how do you configure a Solaris/Netscape Enterprise server to make them available or is that something that happen when you install C++?

Thanks Guadalupe
Question by:guadalupe
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 23

Accepted Solution

chensu earned 600 total points
ID: 1201293
There are many C/C++ CGI libraries, which deal with CGI variables for you. They come with samples and documentations. Some of them are listed below.

cgiClass - A C++ class which contains many functions for creating HTML, manipulating CGI input and much more.

Cgicc - A C++ class library that facilitates the writing of CGI applications

libcgi++, A C++ class library for CGI decoding

The CGI-LIB Library - An ANSI C Library for CGI Programming

cgic: an ANSI C library for CGI Programming

You may also go to the following Web site to find your favorite CGI library.

The CGI Resource Index
LVL 86

Expert Comment

ID: 1201294
>> How are the CGI variables named in C++

CGI apps read these vriables from the process environment block (i.e. the 'environment variables'), they have the same names in all programming languages...

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question