Friday, January 8, 2016

Understanding The CGI

What Is CGI?

CGI which means Common Gateway Interface can simply be referred to as

an interface between a web page form and a web server. Perl is the

most common language for writing a CGI script; so acceptance and

return of data is the major deal in the CGI programming.



Where To Find CGI?

A CGI script or CGI can be found in the cgi-bin directory which is in

the CGI Center, under Software And Services category of a web host

cpanel. This means that to locate a CGI script, you must have access

to a web host server cpanel => CGI Center => cgi-bin directory.



Who Can Use CGI?

Anyone who understands the web programming language, or anyone who has

the ability to manipulate files and contents of a host server can use

CGI.



How To Use The CGI?

Anyone who wants the use of CGI must have Apache configured. Before a

script is installed in the server, it requires a rightful location

(i.e cgi-bin). The cgi-bin directory is the location you will use to

store your Perl or compiled script files. Any file you place in it

will be read as a program (instead of a html page or image) and be run

by the server.

No comments:

Post a Comment

======================

*Ads

Huge Income Via Native Ads [Adnow]

Join The Best Adsense Alternative [Revenuehits]

Earn More Than 10% In Referral Revenue [Infolinks]

Get 5% From Publishers’ Revenue You Refer [Propellerads]

10% lifetime revshare from your referred members earnings[PopMyAds]

Easy Way To Receive Or Send Money[Skrill]

Quick Approval Native Ads Network[PayClick]

Earn While You Snore [Exoclick]