...

View Full Version : retrieving current url



heaps21
03-11-2004, 01:31 AM
Hi, Is there a way to find out the url of the page you are currently on? I need it to test against a url string stored in a database table so that I can determine what color to color my menu and submenu items.
Thanks, Andy.

Nightfire
03-11-2004, 01:49 AM
$_SERVER['PHP_SELF'] should do you

heaps21
03-11-2004, 02:11 AM
Just what I was looking for :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum