RE: PHP 4.0 Bug #6024 Updated: the function getenv() is not worki ng properly
| From: | Stefan Diankov | Date: | Mon, 04 Sep 2000 14:53:32 +0000 |
| Subject: | RE: PHP 4.0 Bug #6024 Updated: the function getenv() is not worki ng properly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31931@lists.php.net to get a copy of this message | ||
ISAPI.
phpinfo gives a result, but when I try with
<? echo getenv("REMOTE_ADDR"); ?>
there is no result
-----Original Message-----
From: Bug Database [mailto:php-dev@lists.php.net]
Sent: 04 September 2000 17:50
To: stefand@rila.bg
Subject: PHP 4.0 Bug #6024 Updated: the function getenv() is not working
properly
ID: 6024
Updated by: sniper
Reported By: stefand@rila.bg
Status: Feedback
Bug Type: Misbehaving function
Assigned To:
Comments:
So are you using CGI or ISAPI ??
Try <?php phpinfo();?> which shows the variables
you can get.
--Jani
Previous Comments:
[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