Is there a command that I can use to define which page is currently open? Something like this: if($activepage == somefile.php) echo "something";
the $activepage doesn't really exist, but is there a command that is like that?
I presume you mean the FILE constant? or maybe $PHP_SELF variable?