Re: environment variables (ie v. netscape?)

From: Date: Thu, 25 May 2000 18:07:20 +0000
Subject: Re: environment variables (ie v. netscape?)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-556@lists.php.net to get a copy of this message
*sigh* nevermind. http://www.domain.com/ is not the same as http://www.Domain.com/. *sigh* Thanks anyway. -r3- ----- Original Message ----- From: Ray Black III <rblack@clickcom.com> To: php-general Mailing List <php-general@lists.php.net> Sent: Thursday, May 25, 2000 1:54 PM Subject: [PHP-GENERAL] environment variables (ie v. netscape?) > 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- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#556) next »