?
Solved

C++ with CGI

Posted on 1999-07-28
2
Medium Priority
?
296 Views
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
0
Comment
Question by:guadalupe
[X]
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
2 Comments
 
LVL 23

Accepted Solution

by:
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.
ftp://www.math.unh.edu/pub/black/cgiClass

Cgicc - A C++ class library that facilitates the writing of CGI applications
http://www.cs.hmc.edu/~sbooth/cgicc

libcgi++, A C++ class library for CGI decoding
http://www.ncsa.uiuc.edu/People/daman/cgi++

The CGI-LIB Library - An ANSI C Library for CGI Programming
http://www.geocities.com/SiliconValley/Vista/6493/cgi-lib.html

cgic: an ANSI C library for CGI Programming
http://www.boutell.com/cgic

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

The CGI Resource Index
http://www.cgi-resources.com
0
 
LVL 86

Expert Comment

by:jkr
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...
0

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