![]() |
Dynamic Pages![]() ![]() ![]() ![]() ![]()
That's a million dollar question, which you ought to know before you delve any deeper into the subject. Well, CGI (Common Gateway Interface) is actually a mechanism which deals with server side programs which can be written in a number of programming languages.(Hang on for the details). The basic function of a CGI program is to receive and translate data sent by the user via the Internet to your WWW server. Depending upon the user's request,the CGI program processes the user's requirements and sends valid response back to your WWW client. After knowing the basic function of CGI program, the most obvious question in your mind would be, why common gateway interface (CGI) is called a gateway! The reason behind this is that, your program acts as a gateway or interface program between other larger applications. You may create a CGI program that translates and formats the data being sent to it from applications such as online catalogs. This translated data is then passed to some type of a Database program, which performs manipulation on its Database and. returns the results to -your -CGI - program. The CGI program can then reformat the returned data as required for the Internet, and return it to the Aline catalog customer, thus acting as a gateway between the HTML catalog, the HTTP request, and the Database program.
|
|
CGI
Advantages of CGI
How CGI Works
Compiled Versus Interpreted
Input to CGI
CGI Introduction Program
HTML Forms
Accepting Input from the Browser
CGI Environment Variables
Get Versus Post Method
Get Method
Post Method
Sample <FORM> Based CGI Program
Complete Example for <FORM>
Output from CGI
Header and Body:Anatomy of Server Response
HTTP Headers
Carriage Returns and Newlines
Formatting Output CGI Common MIME TypesLocation Header Useful HTTP Stautus Codes Other Headers Dynamic Pages Sending Images Displaying the Current Date Feedback Form Program Server Side Includes Server Side Include Environment Variables Displaying the Date with Date Counter Example of SSI Counting the Number of Accesses Better Approach Towards CGI Program Client Versus Server Accessing a HTML Document Submitting a Form Accessing a CGI Program Databases ODBC Creating a DSN Win32::ODBC Module Creating a Table Inserting Data into a Table Deleting Data from a Table
Updating Data in a Table
Selecting Data from a Table Operating Systems Security Securing Your Web Server Writing Secure CGI ProgramWeb DesignDomain Names Home
FAQ
My Account
IP Address
SSL Certificates DNSWeb Hosting Web Server Cheap Web Design Dedicated web hosting Managed web hostingE Commerce Principles of E-Commerce E-Banking Electronic Payment System E-Security Credit Cards Smart Cards
The Mailbox POP Server SMTP Server IMAP Protocol |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |