|
Hi.
I know that $HTTP_SERVER_VARS['HTTP_REFERER'] will return a user to the previous page viewed, but is there a php function which will output the name of the current page?
I want to create a page which contains all my link buttons and then include it into every page on the site - so if i need to add more buttons i only have to modify 1 page. However, i want the button of the selected page to be highlighted and i cant figure out how to do this if every page on the site refers to an included piece of code to display my buttons.
Anybody know?
Thankyou
|