RE: [PHP-DB] what's the current URL
| From: | Ricky Theil | Date: | Wed, 03 Oct 2001 20:54:34 +0000 |
| Subject: | RE: [PHP-DB] what's the current URL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12983@lists.php.net to get a copy of this message | ||
Use the phpinfo(); function to show you all the environment variables. i.e.
the current file URL w/o the query string on it is $PHP_SELF
Ricky
-----Original Message-----
From: Francisco Carvalho [mailto:FCarvalho@carf.org]
Sent: Wednesday, October 03, 2001 2:51 PM
To: 'php-db@lists.php.net'
Subject: [PHP-DB] what's the current URL
Is there a way for PHP to know the current URL?
I have am include file that a TOC, I want to change the color of a specific
link in the TOC to ilustrate that that is the corrent page the user is at.
Any sugestions?
Thanks a bunch :-)
Franky