CGI, Common Gateway Interface, includes programs that run on the server to enhance the quality and functionality of a web site. exists in a constant state: a text file that doesn't change. A CGI program, on the other hand, is executed in real-time, so that it can output dynamic information.
A plain HTML document that the Web daemon retrieves is static, which means it