ID: 15652 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Analyzed +Status: Closed Bug Type: Feature/Change Request Operating System: all PHP Version: 4.1.1 New Comment:
Already implemented: http://www.php.net/manual/en/function.php-sapi-name.php Previous Comments: ------------------------------------------------------------------------ [2002-02-20 21:36:48] [EMAIL PROTECTED] There does not appear to be any way to check if the server is running as a cgi or apache module. The only option I could find is capturing and parsing the output of phpinfo which is far from optminal. I am requesting a feature that returns the api used for use in if statments and such to determine program flow (as some features only work on one of theses, or work differently) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15652&edit=1
