Common Gateway Interface (CGI) Tutorial
Table of Contents
Basic Concepts of World Wide Web
HTML
URL
Web Browser
Web Server
Client/Server System and Protocol
HTML Editor
Why CGI?
Static Documents
Dynamic Documents
Interactive Communication
What is CGI?
Where to Put CGI Program?
CGI Programming Languages
HTML Forms
FORM Example
Form Tag
Input Tag
Select Tag
Textarea Tag
CGI Query Acceptance and Form Submission
CGI Environment Variables
Encoding Scheme
Submission Methods
CGI Output
Output A New Web Document
Redirection to another URL
Status Code
Introduction to PERL
"Hello, World" Example
Program Components
How to Run a Perl Program
Variables
Scalar Variables
Array of Scalar Variables
Associate Array
Strings
Operator
Condition Statement
Loops
foreach
for
while/do
Control Statement
File I/O
Subroutines
Regular Expression
Syntax for Regular Expression
Regular Expression Example
Operators and Functions
Application 1:
Online Test
Application 2:
Single Data password Protection
Application 3:
File Password Protection
Application 4:
Student Information Search Engine
Application 5:
Guestbook
Setup CGI Application With Available Free CGI Scripts
Related Hotlinks
Written by
Zhanshou Yu
Last Modified: Apr. 1998
Any Suggestion please email to zyu@bayou.uh.edu