Say I am on www.mydomain.com/pageA.php. How would I do an IF depending on the page, for example:
if(SOMETHING == pageA.php) { } elseif(SOMETHING == pageB.php) { }
get it?
$_SERVER["PHP_SELF"] should contain the name of your progam.