bugmagnet
bugmagnet

Reputation: 7769

php-cgi.exe - does it detect and handle both CGI and FastCGI? If so, how?

The impression I get both from Microsoft's discussions about FastCGI and PHP, and also from Coast R&D's site, is that php-cgi.exe is able to detect whether it is being used in either a CGI or FastCGI context. If so, how does it do it, as I'd like to have similar functionality in my own product.

Upvotes: 0

Views: 433

Answers (1)

Joeri Sebrechts
Joeri Sebrechts

Reputation: 11136

Why not look at the PHP source code? As long as you don't copy their code line for line, there's no risk of IP issues.

Upvotes: 1

Related Questions