Re: Detect Current Page

From: Date: Tue, 01 Apr 2003 14:36:45 +0000
Subject: Re: Detect Current Page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141820@lists.php.net to get a copy of this message
If you are intending to do this with PHP $_SERVER['PHP_SELF'] is a variable containing the file name of the script being accessed. Jason shaun wrote:
Hi, I would like to display certain items on certain pages. Is it possible to detect the page i am going to and if so display an item. I could add an identifer to the link but there a lot of pages linking to this page so it could get tricky? Thank in advance for any advice


« previous php.general (#141820) next »