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


-----Original Message-----
From: Francisco Carvalho [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 03, 2001 2:51 PM
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 :-)

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to