Quote:
Originally Posted by Colmike7
<?php
$homepage = "/";
$currentpage = $_SERVER['REQUEST_URI'];
if($homepage!=$currentpage) {
echo'
<script src="popup.js"></script>';
}
?>
Try this, then. If it doesn't work, do a test and see if something other than / is the output for $currentpage then change $homepage = "/"; to the homepage value. That way you don't need another php file. 
|
oh sheet it worked, good job man, what's your paxum?