?
Solved

cgi?

Posted on 1998-02-15
1
Medium Priority
?
268 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
[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
1 Comment
 
LVL 5

Accepted Solution

by:
julio011597 earned 120 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

719 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