Re: Page Rendering

From: Date: Tue, 21 Jan 2003 14:56:24 +0000
Subject: Re: Page Rendering
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132414@lists.php.net to get a copy of this message
On Tuesday 21 January 2003 22:26, Bill Arbuckle, Jr. wrote: > This code is at the top of an include file which is included in pics.php. > It seems that $PHP_SELF is interpreted differently in *some* instances > between the two browsers. I can't figure it out because PHP_SELF is a > server side evaluation. The links are output correctly in IE ... > http://www.xyz.com/pics.php?page=2 ... but in Netscape I get > ... > http://www.xyz.com/?page=2 I had this problem once before and > inadvertently fixed it with something else that I was doing. Any hints are > appreciated. Most likely $PHP_SELF is in fact blank. If you're using a relatively new version of PHP use $_SERVER['PHP_SELF'] instead. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* On the road, ZIPPY is a pinhead without a purpose, but never without a POINT. */

« previous php.general (#132414) next »