The PHP Scalability Myth
Subject:   CGI model vs. in-process model
Date:   2003-10-17 15:17:31
From:   anonymous2
Response to: CGI model vs. in-process model

Uh, wrong!!!
Ever hear of mod_perl or FastCGI? They are both in-process (using two totally different methods), but are still CGI at the core. The first poster was absolutely correct that it's how the client passes messages back to the web server.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • CGI model vs. in-process model
    2003-10-18 02:20:22  anonymous2 [View]

    Ever hear of the CGI specification? It defines a series of environment variables which are to be made available to a CGI process and indicates how stdin and stdout of the process should be handled.

    It has nothing to do with the client; only the server-side program and the Web server. That's because the Web server is the program generating environment variables. Some data in those variables are obtained from the client, but what the client sends is defined by the HTTP spec, not the CGI spec.