environment variables (ie v. netscape?)
| From: | Ray Black III | Date: | Thu, 25 May 2000 17:54:19 +0000 |
| Subject: | environment variables (ie v. netscape?) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-555@lists.php.net to get a copy of this message | ||
My first query to the list... had to happen sooner or later.
I've got the following code, where URL_PATH is defined as
'http://www.domain.com/', and the idea here is
that we will only display
'some html stuff' if we're NOT at admin_access.html:
$CurrentPage = "http://" . $HTTP_HOST . $REQUEST_URI;
if ($CurrentPage != URL_PATH ."admin/admin_access.html"):
?>
some html stuff
<?
endif;
So my question:
If the full url is 'http://www.domain.com/admin/admin_access.html'
why does
'some html stuff' not display in Netscape, but it will display in IE? Any
ideas here? I've been up and down the phpinfo() output from both browsers,
and I still don't understand...
Much thanks,
-r3-