Solved

cgi?

Posted on 1998-02-15
1
267 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 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

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to count occurrences of each item in an array.

623 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