CGI means Common Gateway Interface...


education directory
Ed the Webmaster

 Webmasters' Education:
Start here - Why me?
What you have to know
2 keywords = 1000 phrases
Bad titles, low traffic
Free meta tags
Speaking in tongues
Slow pages equal more traffic
Free and Easy
Yahoo for free
Master of your own domain?
Spiders cannot fill in forms
Good and bad doorways
Order the engines around
Do you use frames?
Are you a magnet?
Visitors by default
Lasso your lost visitors
$100 = 10,000 visitors
Others work - you earn
Ads - Don't click here?
Invite the competitors over
E-mails and warnings
Infectious or immunized?
All the best submission tools
100s of search engines
The "must have" web tools
Free for all sites
Pressing the editor's button
Legal or e-legal?
Where do I start?
A to Z index

 Finance Partners:
Cover Base Life Insurance
Finding Life Insurance Cover
Annuity Comparisons
Aviva Annuities
Buy To Let Mortgages
Commercial Insurance
Inheritance Tax
Pension Misselling
Annuities Comparison
Enhanced Annuities
Pension Annuity Answers
Annuity Office
Annuity Plan
Annuities Plan
Annuities Central
Open Market Option
Capped Drawdown
Mortgage Comparisons
Hidden Mortgages
Barclaycard PPI Claims
PPI Claims
PPI Complaints
PPI Refunds
Barclays PPI Claim
Lloyds PPI Claim
RBS PPI Claims
Wrongly Sold PPI
PPI Justice

  Web Guest Writers:
Web kiosks for the poor
Online Price Mistakes
Thesaurus Ranking
HTML or text e-mails?
ALTered Images
Renaming your Images
Free tools to create your site
Invasion of the Amazons
Advertising v. PR
Will content be profitable?
Responding to spam
What is spam?
Pay for position
Web host tips
Webmaster beauty
Bad web design: Animation
CGI: What the heck is that?
Long live banners
Great press releases
E-mail Sigs - 7 Key Items
Ad tips for affiliate marketing
I want to keep my frames
CGI means Common Gateway Interface
Measuring Link Popularity
Domains and hyphens
Why have a domain name

 General Education:
Homepage | Web Search
Education Resources
Active Online Pupil Forums
Art | Film | Dance | Bands
Countries of the World
Digs UK | US | Canada
Finance | Economics/Biz
Homework Helpers | Exams
Kiddies Korner | Tots | Pets
Jobs UK/EU | US | Canada
Bartending Work
Medicine and Health
Museums and Galleries
Mystery Shopping
PE | Sports | Sporting Events
Power & Politics | Civil Rights
Print Media, TV and Radio
Problems and Advice
Shops | Fashion | Books
Subjects | Religion | Language
Technology Education & ICT
Teens | Just for Fun
Schools UK | US | Canada
Unis/Colls UK | US | Canada

 Special Features:
Essays - Full Writing Course
What is Bullying?
Stress in Teaching
Online Education

 Guest Contributors:
The best Dad?
You're an Idiot!
Slave Caster of Freedom
Out of the mouths of babes
The Right to Life?
The Nostradamus Hoaxes
Explaining terrorism to a child
Internet 2 a scam?
Break a Rule, Bad Girl
Britannica near extinction?
The 1st time I really lied
Nigerian Scam Letters
Singular turns plural
English Writing
In debt?
The Secret Shopper
Too busy at work?
Bullying... Our Stories
Start to live your dreams
Recognize your potential
Stop worrying, please!
Public speaking
Elegant resumes
In praise of black sheep
Ritalin - Straight-jacketing?'s full list of pages

The Mystery Shopping Club

(Operated by's sister site)

Webmasters, (or in fact anyone!) do you need some extra income? Some free food and drinks perhaps? Would you like to pick your own hours?

To find out about casual employment opportunities in the "Secret Shopper" industry, please choose one of the following links:

Click here for the Mystery Shopping Club UK

Increase Traffic to your Web-site - Traffic Tips and Secrets...

IMPORTANT INFORMATION ppi Have you taken out a credit card, mortgage, secured loan, unsecured loan or hire purchase agreement in the last ten years? If you have (or have had) a mortgage, loan or credit card with providers such as Abbey, Barclaycard, MBNA, Halifax, HSBC, HBOS, Lloyds TSB, Natwest, RBS or in fact any other credit provider, you may be able to reclaim up to 15,000 if you were sold PPI insurance - in most cases even if you've lost the paperwork. Learn more about PPI Claims now!

BECOME A MYSTERY SHOPPER Are you a student over 18? Part-time teacher? Or maybe a parent or just someone that needs some extra income? Some free food and drinks perhaps? Would you like to pick your own hours? Casual work is available now.

The Mystery Shopping Club provides you with an EXCEPTIONAL collation of intelligence that is crucial for anyone with an interest in Mystery Shopping. Become a Mystery Shopper now!

EXCEPTIONAL EDUCATION ADVERTISING OPPORTUNITY It is simple to get your site listed on! You simply pay a small one-time-only administration charge for a PERMANENT lifetime advert! Learn more about advertising on now!

Kate the Webmistress

CGI: What the Heck Is That?

By Guest Writer Richard Lowe, Jr.

Let's unlock a little bit of the mystery about something called CGI. If it helps any, CGI means Common Gateway Interface. This is a method which is used to exchange data between the server (the hardware and software that actually allows you to get to your web site) and a web client (your browser). CGI is actually a set of standards where a program or script (a series of commands) can send data back to the web server where it can be processed.

Typically, you use standard HTML tags to get data from a person, then pass that data to a CGI routine. The CGI routine then performs some action with the data.

Some of the more common uses of CGI include:

  • Guestbooks - The CGI routine is responsible for accepting the data, ensuring it is valid, sending an email acknowledgement back to the writer, perhaps sending an email to the webmaster, and creating the guestbook entry itself.

  • Email Forms - A simple CGI forms routine just formats the data into an email and sends it back to the webmaster. More complicated routines can maintain a database, send an acknowledgement and validate data.

  • Mailing List Maintenance - These routines allow visitors to subscribe and unsubscribe from a mailing list. In this case, the CGI routine maintains a database of email addresses, and the better ones send acknowledgements back to the visitor and webmaster.

    A CGI routine can be anything which understands the CGI standard. A popular CGI language is called PERL, which is simple to understand and use (well, compared to other languages). PERL is a scripting language, which means each time a PERL routine is executed the web server must examine the PERL commands to determine what to do. In contrast, a compiled language such as C++ or Visual Basic can be directly executed, which is faster and more efficient.

    Okay, in a nutshell (and greatly simplified), here's how it works:

    1) You (the webmaster) specify a form tag which includes the name of the CGI routine.

    2) You create HTML tags which retrieves data from your visitors.

    3) Each of the input tags includes a variable name. The data which is retrieved from the visitor (or directly set if the tag includes the "hidden" qualifier) is placed in the variable name.

    4) When the visitor presses the "submit" button, the CGI routine which was specified in the form tag is executed. At this time, the CGI routine "takes control", meaning the browser essentially is waiting for it to complete.

    5) This CGI routine can get data from variable names. It retrieves the data and does whatever action is required.

    6) When the CGI routine finishes, it returns control back to the web client (the browser).

    Some important things to remember about CGI routines:

  • You can install CGI routines on your own site if your host allows it - Addr.Com is an example of a web host which allows for CGI routines. Some web hosts do not allow you to install your own routines but do provide some pre-written ones to you. If these are not sufficient for your needs, you can find a remote hosting service to provide the necessary functions.

  • Generally, if you install your own routines they must be installed in the cgi-bin directory of your site. This is a special location which allows scripts and programs to be executed.

  • CGI routines work best on Apache-style servers. Windows NT and Windows 2000 does support CGI, but it tends to be slow and problematic.

  • If you use a remote hosting service, you must remember that although they appear to be giving you this for free, you are actually paying a price. Usually they want to display advertisements, although some of them actually take visitors away from your site.

  • When you write a CGI routine, you have the choice of a scripting language like PERL or a compiled language such as C++ or Visual Basic. Anything which can execute on the web server is acceptable. I hope this short introduction to CGI has cleared up some of the mystery.

    Article by Richard Lowe Jr. Richard is the webmaster of Internet Tips And Secrets. This web-site includes over 1,000 free articles to improve your internet profits, enjoyment and knowledge. Subscribe to his Daily Tips Newsletter by sending a blank email to or by going to

    Hundreds of thousands of webmasters are using databases instead of static HTML webpages. Click here to find out why databases might not be the best idea...

    Save this site

    Please don't forget to add to your list of favorites/bookmarks. Internet Explorer users please click here and others, right click here - - - - Also, you can learn how to make any page your start page by clicking here.

    Share this site

    Click here to tell your friends, family or colleagues about


  • education directory

    An Ed-U-Kate production. This page was produced 13 April 2001 and last edited 9th June 2015.
    This site is for information only; responsibility for its use rests with user., its characters, names & related indicia ©
    Add URL | Link to us | Terms of Use | Privacy Policy | Contact Information | ArtFair | Home