Posted By

ryarwood on 08/04/10


Tagged

php include page navigation detection


Versions (?)

Ghetto Page Detection for Dynamic Nav


 / Published in: PHP
 

  1. <?php $loc = $_SERVER['REQUEST_URI']; ?>
  2.  
  3. <?php $pos = strpos($loc, "/music-videos/"); if ($pos === false) { echo ""; } else { echo "_over"; } ?>

Report this snippet  

You need to login to post a comment.