We
Register Domain Names for only $14.99 per year.
We can save you $20.01 per year
compared with Network Solutions.
We
also renew Domain names for only $14.99 per year.
BestWebHost.com
has been in the Web Hosting Business since June, 1998
Go To Our Home Page
Go To Help Page
Introduction to CGI
CGI (Common Gateway Interface) is a standard for
running external programs from a Web server. CGI allows the returned HTML page
to be dynamic - for example, with a CGI script you could access information in
a database and format the results as part of an HTML page. Not surprisingly,
CGI scripts are very popular and used extensively throughout the World Wide
Web.
There are a number of very good introduction to CGI
documents available on the Web. The information given below is a summary of
the most important points to remember when using CGI.
Key points to bear in mind when using CGI scripts:
| The pre installed scripts available through
the control panel also known as CPanel are the
easiest to use, but if a certain script does not do exactly what you want,
feel free to look for better scripts on the Web. |
| Read all available documentation on a particular
script before using it. This will help avoid most problems. |
| CHMOD ("Change Mode") means change the permissions
on a particular file (usually the script itself). The CPanel File Manager
allows you to quickly do this, as do most FTP tools. |
| Important - after uploading
cgi-bin scripts, CHMOD to 755
(unless the script documentation specifically states otherwise). For
example, you need to CHMOD the pre-installed CPanel
CGI EMail scripts to
755 to use them properly. |
| Many scripts need to know the path to Perl
(scripting language engine) and to sendmail (HTTP mail engine). You can find
this information on the front page of CPanel. |
| Make sure you test your scripts repeatedly!
Testing is vital to make sure everything is working to your satisfaction. |
To Set Up A CGI Script
Go to Your control Panel
CPanel
Click on CGI
Click on the html for the script that you want to generate
Then paste the html code into your web page
The following html script generators are in the control
panel
Random HTML Editor
Guest book
Counter
Clock
Countdown
Formmail
Entropy Search Engine
Go To Our Home Page
Go To Help Page
|