ISAPI vs CGI
| From: | Vincent DUPONT | Date: | Wed, 23 Jun 2004 08:42:39 +0000 |
| Subject: | ISAPI vs CGI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188856@lists.php.net to get a copy of this message | ||
Hi,
I have a script that need to run on ISAPI module on one server and on CGI on anther server.
I would like my code to be able to react differently depending on the CGI/ISAPI mode.
How can I detect the running mode of PHP??
is there a $_SERVER variable or anything??
vincent