|
| Previous < 4 5 6 7 8 9 10 >Next |
|
Data Communication on the Web |
| A Web client program (such as a web browser) can access data from many different servers, such as Gopher, FTP, NNTP (Usenet) or HTTP. The HTTP server was designed specifically for the Web, and employs a protocol (system of messages) that supports sending documents from the server to a browser, and that also support sending complex data from the client back to the server. There are several HTTP methods for doing this (in HTTP, methods is a technical term for the way in which data are sent between a client browser and server). |
|
|
|
CGI Links and Resources |
CGI, or the Common Gateway Interface, is a defined method by which a Web server can obtain information from (or send data to) other programs or files, including Web browsers, and utilize that data on the server machine. Perl is one of the more popular languages for writing CGI scripts, but practically every language includes functions and capabilities (or has modules available containing functions and capabilities) allowing them to access CGI data.
|
|
|
|
The Common Gateway Interface for Server-side Processing |
The Common Gateway Interface, or CGI, permits interactivity between a client and a host operating system through the World Wide Web via the Hyper Text Transfer Protocol (HTTP). It's a standard for external gateway programs to interface with information servers, such as HTTP or Web servers. A plain HTML document that the Web server delivers is static, which means it doesn't change. A CGI program, on the other hand, is executed in real-time, so that it can output dynamic information - perhaps a weather reading, or the latest results from a database query. CGI allows someone visiting your Web site to run a program on your machine that performs a specified task.
|
|
|
|
| CGI Programming with Perl |
The Common Gateway Interface (CGI) is one of the most powerful methods of providing dynamic content on the Web. CGI is a generic interface for calling external programs to crunch numbers, query databases, generate customized graphics, or perform any other server-side task. Based on the best-selling CGI Programming on the World Wide Web, this edition has been completely rewritten to demonstrate current techniques available with the CGI.pm module and the latest versions of Perl. Topics include incorporating JavaScript for form validation, controlling browser caching, making CGI scripts secure in Perl, working with databases, creating simple search engines, maintaining state between multiple sessions, generating graphics dynamically, and improving performance of CGI scripts.
|
|
|
|
cgi-lib.pl |
The cgi-lib.pl library has become the de facto standard library for creating Common Gateway Interface (CGI) scripts in the Perl language. Welcome to the official Web site for cgi-lib.pl, with the most up-to-date releases of the library.
The cgi-lib.pl library makes CGI scripting in Perl easy enough for anyone to process forms and create dynamic Web content. The library has the following features:
- Extremely simple to learn and easy to use
- Designed for operation under Perl5 and Perl4
- Very efficient
- Compatibility with all CGI interactions, including File Upload
- Convenient utility functions
- Compatible with Perl5 security features such as taint, warnings, (command line options -Tw) and use strict;
- Debugging facilities
- Good starting point for migration to more sophisticated libraries
|
|
|
|
| Previous < 4 5 6 7 8 9 10 >Next |
|
|