Re: what's the current URL

From: Date: Wed, 03 Oct 2001 21:29:58 +0000
Subject: Re: what's the current URL
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12984@lists.php.net to get a copy of this message
I don't think there is a predefined variable that actually contains the URL as it appears in the user's address bar, but it would be easy to make a URL from the Globals. Check the variables listed on your server in a phpinfo. It will probably be as simple as: $url = "http://" . $HTTP_HOST . $SCRIPT_NAME; Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com ----- Original Message ----- From: "Francisco Carvalho" <FCarvalho@carf.org> To: <php-db@lists.php.net> Sent: Wednesday, October 03, 2001 3:50 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 :-) > Franky >

« previous php.db (#12984) next »