Re: Detect Current Page
| From: | shaun | Date: | Tue, 01 Apr 2003 15:45:02 +0000 |
| Subject: | Re: Detect Current Page | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141832@lists.php.net to get a copy of this message | ||
exactly what i wanted, thanks
"Jason Sheets" <jsheets@shadonet.com> wrote in message
news:3E89A3FD.3080406@shadonet.com...
> 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
> >
> >
> >
> >
> >
>