Support » Themes and Templates » Calling a PHP file into header.php?

  • Hi, I have a question…

    When I added this:
    <?php include('menu.php'); ?>

    to my header.php, my menu wouldn’t show up. But then I also did it like this:

    <?php include('/httpdocs/menu.php'); ?>

    which is the direct location of the menu. Why doesn’t it show up? Do I have to do anything else in order for this to work?

Viewing 1 replies (of 1 total)
  • whooami



    assuming that menu.php is the root of your web accessible directory, the first one should work. at least it did for me when I tested it on my server. Then again, I have a supremely well configured server and dont experience the problems most people do here. 🙂

    the second one wont work.

Viewing 1 replies (of 1 total)
  • The topic ‘Calling a PHP file into header.php?’ is closed to new replies.