The Common Gateway Interface (CGI) is the connection betweeen the Web browser and custom program, allowing a dynamic interaction between the user and the Web page. This guide is written in a question-and-answer format for people developing both small and large Web-based applications.