Re: Detecting Server API (CGI or Apache) at runtime?

From: Date: Tue, 25 Nov 2003 19:29:43 +0000
Subject: Re: Detecting Server API (CGI or Apache) at runtime?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170926@lists.php.net to get a copy of this message
"Richard Cyganiak" <rcyg@gmx.de> schrieb im Newsbeitrag news:20031123133900.72428.qmail@pb1.pair.com... > is there a way to tell at runtime if PHP is running as an Apache module or > through CGI? Replying to myself ... I found the answer, there's a function php_sapi_name() for this purpose, see http://php.net/php_sapi_name

« previous php.general (#170926) next »