|
<?php if($_SERVER['PHP_SELF']==index.php)
{echo "<p>This is the home page dude.</p>"; }
else
{echo "<p>This is NOT the home page dude.</p>"; }
?>
I have a php include that I only want to activate on certain pages and I though the $_SERVER['PHP_SELF'] might be the mechanism to do that.
Having some troubles though.
|