Home | Contact Us | Log In | Help
HOME NEW LISTING MOST POPULAR HIGHEST RATED SCRIPTS ADD SCRIPT DOWNLOADS FORUM
Tutorials
  ASP.Net & C#
  ASP
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Sap
  CGI
  XML
  Cold Fusion & CFML
  HTML, DHTML & CSS
  Dreamweaver
  FLASH
  Photoshop/Web Designing
  Tools & Utilities
  Oracle/D2K
  Sql Server
  MySql
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
E-Commerce
Interview Questions
Previous < 5 6 7 8 9 10 >Next
CGI 8

Flow of Data to Gateway Programs


This Figure illustrates the flow of data when a user accesses a CGI program. The solid line shows the data flow using HTTP and CGI. HTTP transfers data from the client to the HTTP server, and back again. The CGI mechanisms control the flow of data from the server to the gateway program (shown as the prism) and back again. These are called gateway programs because they generally act as gateways between the World Wide Web and server-side resources such as databases, feedback forms, clickable imagesmaps, and so on.


ABSTRACT


Common Gateway Interface (CGI) applications are server-executed programs used to dynamically create HTML documents. Many World Wide Web sites use CGI applications for dynamic web page creation, for parsing forms, and for providing a web-based interface to other applications, such as databases. There are many issues that one must consider when using the CGI to expand a World Wide Web site, including: the language used to create the CGI applications, as well as whether or not the applications should be compiled or interpreted; the performance of the CGI applications and how it will affect the server; and the portability of the applications, should a new server or operating system be chosen for the site. I will discuss these issues, explain the process of creating CGI applications, and present some examples in this chapter.

Das Common Gateway Interface


Zu jeder Community gehört sicherlich ein WWW-Server. Er kommt auf jeden Fall bei der Veröffentlichung von Chat-Terminen oder als Download-Server für interaktive Java-Applets zum Einsatz. Darüber hinaus besteht natürlich die Möglichkeit den WWW-Server selbst als interaktives Instrument zu benutzen. Neben dem üblichen Abrufen von vorgefertigten HTML-Seiten kann der Server nämlich, mit Hilfe des "Common Gateway Interface (CGI)", auch eine interaktive Kommunikation mit dem Anwender durchführen.

The CGI module

The most common form of CGI programming handles interaction between user input in an HTML form and a database.  HTML forms consist of several input fields, each given a key identifier, and a submit button that sends the data in a query string.  Fortunately, the built-in Python CGI module parses this information in a class called cgi. The most useful member of this cgi class is the FieldStorage attribute. It returns the values of all the form fields in a object similar to the dictionary type.[4, 2: 276].


Common Gateway Interface (CGI) Programs


CGI Use at K-State
This is an explanation of how CGI programs work, why they are potentially dangerous, and K-State policies for their use.
MAILFORM
MAILFORM is a locally-developed CGI script that sends the contents of an HTML form to a user via e-mail.
METAFEEDBACK
METAFEEDBACK is another script that sends the contents of an HTML form to a user via e-mail. Dunno why this one is better/worse than the others yet.
imagesMAP
The imagesmap CGI script is what allows portions of imagess to be used as buttons, i.e., link to hypertext documents. Technically, this isn't a CGI script any more, but here are the directions nontheless.

Previous < 5 6 7 8 9 10 >Next
  Copyright 2000-2006 © SoloScript.com, All rights reserved.