Solved

cgi?

Posted on 1998-02-15
1
260 Views
Last Modified: 2013-12-25
is cgi a rather simple language to learn?  Is it even a language?  I've heard all kinds of things about cgi and I want to know how to write it, what it can do, and what you need to write it.  Is their something that cgi is comparable too?  
0
Comment
Question by:cfrericks
1 Comment
 
LVL 5

Accepted Solution

by:
julio011597 earned 30 total points
ID: 1831992
CGI is but a _protocol_ stating what kind of communication can happen between a web server and an external program (the so called "CGI" program).

The CGI protocol basically states that the web server writes to the standard input stream of the program, and reads answers back from the standard output stream of program.
It also contains rules on what kind of environment variables (not to be confused with _system_ environment variables) the web server gives to the program, and what kind of status messages and mime type indications the program has to give back together with the document it generates on the fly.

Ok, maybe a bit confusing, but there are books full of this stuff.

And, as you can see, it is NOT a language; instead, you can write the external program in _any_ language you like, provided that the resulting program behaves following the CGI protocol rules.

Hope this makes things a bit clearer,

julio
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now