|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-09-26 22:35 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 13 07:00:01 2026 UTC |
I have a perfectly working PHP setup with IIS 5 under w2k server when using PHP as .exe When I switch to using PHP as ISAPI module everything still works fine, except for getenv(). I use "if (getenv("REMOTE_ADDR")=="my.ipa.ddr.ess")..." frequently on my site as a means of simple user authentification. When using the ISAPI module the line "echo "*".getenv("REMOTE_ADDR")."*";" only prints "**". The .exe prints the correct address. I wonder what's wrong here, maybe the ISAPI module doesn't have access to the environment variables?? I've had this problem with every version of PHP 4 and with the www.php4win.de distro too.