Introduction to CGI Scripting

 
Web Hosting
EziHosting provides fast, reliable web hosting solutions in Australia for both business and web developers.
Check it out what we have to offer...
 
Add Your Link
You can add your web site's link to the EziDirectory.
This will increase your site's traffic and link popularity!
Learn more...

 
Domain Names

Web Design
We specialise in Australian Web Design.
The EziHosting team can design your web site in days.
Contact us today for a free consultation and quote.

EziHosting is proud to be a corporate World Vision Sponsor - find out more...

Find out more about your secure certificate here.
Security and privacy issues
Earn 50¢
per click!
Become an
affiliate!

  Do you need
Technical Support?

Home

WEB HOSTING
Web Hosting Australia

F.A.Q.

EziSupport

Control Panel

Dedicated Servers

Special

 

DOMAIN NAMES
Australian Domain Names

TLDs

Int. Domains

Policy Stuff

 

DIRECTORY
Listing

Add your Site

 

MISCELLANEOUS
Web Design

Search Engine Optimisation.

Free Site Analysis

Toos & Tutorials

2 Free Carts!

EziMerchant

Secure Certificates

 

CONTACT US
Contact Details

E-Mail Us

 

Introduction to CGI

Rather than simply giving out static pages, web servers are able to generate dynamic pages depending on a user's input. The input can be from an entry form, buttons, pictures, etc. The information is then passed to a program on the web server which processes the data and returns a page or image.

This program is commonly known as a CGI program (Common Gateway Interface). It can be written in any available language such as PERL, C, C++, or shell script.

PERL is the most common language to use, it is ideally suited to CGI programming due to it's simple scripting syntax, powerful string handling, and specially written CGI library module.

This tutorial assumes you are already familiar with HTML, designing forms, and the PERL language. If not, tutorials are available on this web server.

Where to store CGI Program

You can develop CGI programs on the EziHosting web server. All CGI programs must have the extension *.cgi so they can be recognised by the server as a program to run, rather than as text to display.

Accessing the EziHosting web server
See the Moose about how to access your web space by using FTP.

Things to note

  • A CGI program must be in the public_html directory or any directory under this.
  • It must be readable and executable. (chmod 755)
  • It must have the extension *.cgi
  • You must upload CGI scripts in ASCII - not Binary.

Ok, ready for the next step...
Back - Next

 

 

Web Hosting Australia Monthly Special


At EziHosting, the Australian Web Hosting company,
we strive to become your internet technology partner
for the long run...

© 2003 EziHosting Australian Web Hosting - All Rights Reserved