Solved

cgi?

Posted on 1998-02-15
1
259 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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

10 Experts available now in Live!

Get 1:1 Help Now