Home
 
 
 
  The Specifics of CGI Program

The CGI program is one of a standard way to avail data from the web pages. For this one has to execute the CGI program. Under the present provision one can execute this CGI program from his own system, but while doing so you should remember that it is not the safest thing to perform. When safety issue come to the front, pone has to be careful while implementing this program. That means you should take some security precaution while using this CGI program. Now let us discuss about some of the precautions while using such a program. You must remember the fact that the whole of CGI program must reside in a specific directory. The web server simply does not display the CGI program to the browser, rather it execute the program. Here you must remember that this directory is under the direct control of the web master. This web master will prohibit to an average user to create any CGI program. There are some alternative ways to use CGI script, but here again the web master will set it for you. In such a situation to access CGI script you must contact the web master.

If you have NCSA HTPd server, there is a special directory, where all the CGI programs reside at present. This special directory is called cgi-bin. The CGI program can be written using any language through which it can be executed. The languages include C++, FORTRAN, PERL, TCL, Visual basic, and Apple Script. Regarding using language you have to see what language is available in your system. Suppose, you use C or FORTRAN; now you have to comp-lie the program accordingly. If you want to use other languages like PERL, TCL then the script need to be residing in the cgi-bin directory. To avoid this difficulty many users want to use CGI script in the place of CGI program. It is because, following this procedure it becomes easier to modify or debug a compiled program.


 
 
 
  Category Listings

An Introduction of CGI (Common Gateway Interface)
An Overview of CGI
The Specifics of CGI Program
Implementation of CGI
What Common Gateway Interface (CGI) is?
The Common Uses of CGI
How CGI Routine Works?
Fast CGI; A Variation of the Original Form
Things to Remember While Using CGI
Uses of CGI Scripts
Advantages and Disadvantages of CGI Script
Flash and CGI
How to Get Information from the Server Using CGI
How to Send the Document Back to the Client
CGI Unlocks Back-end Application