Search results

  1. Z

    I am looking for a php script that will add a class to my nav bar based on it's url.?

    For example, my nav bar is location at navbar/nav.inc, and is being included in the main document using <? readfile("navbar/nav.inc"); ?>..... nav.inc consists of <li><a href="javascript:index()" class="topNavAct">Home</a></li> <li><a href="javascript:sources()">Bibliography</a></li> <li><a...
  2. Z

    How can I create a php redirect script that's smart enough to automatically add http://?

    Current redirect script is php, http://example.org/redirect.php?url=_____. Is it possible to include a php if statement that will correct if the $url variable has http:// or not, and then add it. Your help is much appreciated.
Back
Top