Chapter 24. CGI Basics

The Common Gateway Interface (CGI) is an important tool in a Web programmer's bag of tricks. When HTTP was created, it was introduced as a simple way to receive and respond to queries for documents. As the Web grew, it became important that the protocol be able to interface with additional resources beyond those of simple textual documents. This chapter introduces CGI as a concept along with the techniques and technology involved in its operation.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.