Thanks for reply
Yeh navigation is in an include.
so I should use this right
I grab the filename and echo nav content based on that -- just if else stuff
It's working on localhost, but I don't want to do it all only to find it's not reliable on server.
My script hinges on that one line really.
I don't know how to use the __FILE__ magic constant.
atm my include looks like this at start
$currentFile = basename($_SERVER["PHP_SELF"]);
$parts = Explode('/', $currentFile);
$show = $parts[count($parts) - 1];
with rest of nav based on $show