I have a menu like this:
You should:
strpos()
!== false
$_SERVER['REQUEST_URI']
$_SERVER['PHP_SELF']
Something like this:
href="http://domain.com/folder/biography"> href="http://domain.com/folder/contacts"> ... ...