Page name variable...
Hi,
Wondered if there's a way to do this.
We have a page for each of our servers at work.
The page name is the server name and it includes pertinent information such as a description of its functions etc.
We also have a separate web based hardware inventory database which can be accessed using its url and then a #SERVERNAME on the end - since each row in the inventory is bookmarked with the server name.
What I'm trying to do is create a link on each server page like this:
http://intranet.domain.com/inventory/hardware.php#SERVERNAME
with SERVERNAME replaced by the page name.
This way we could have a link on the page to its inventory entry (using the bookmark it'll jump right to it) and if the servername and therefore page name changes, we don't have to remember to update this link.
I know that's a bit lazy but I thought it's the kind of thing that's probably quite easy when you know how!
Thanks,
Nick.