PHP 4.0 Bug #6024 Updated: the function getenv() is not working properly
| From: | Bug Database | Date: | Mon, 04 Sep 2000 15:03:06 +0000 |
| Subject: | PHP 4.0 Bug #6024 Updated: the function getenv() is not working properly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31937@lists.php.net to get a copy of this message | ||
ID: 6024
Updated by: sniper
Reported By: stefand@rila.bg
Status: Open
Bug Type: Documentation problem
Assigned To:
Comments:
When using ISAPI this won't work.
See #2425
I reclassified this as documentation problem.
This should be mentioned in 'getenv' documentation?
--Jani
Previous Comments:
[2000-09-04 10:49:48] sniper@php.net
So are you using CGI or ISAPI ??
Try <?php phpinfo();?> which shows the variables
you can get.
--Jani
---------------------------------------------------------------------------
[2000-09-03 19:43:49] sniper@php.net
No feedback from user. Closed.
--Jani
---------------------------------------------------------------------------
[2000-08-08 10:36:21] stas@php.net
Which server do you use? Is PHP in CGI or ISAPI mode?
---------------------------------------------------------------------------
[2000-08-08 10:34:35] stefand@rila.bg
getenv("REMOTE_ADDR"); returns no result
getenv("SERVER_NAME"); returns no result
......
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6024