How is it possible to include a php file in the header of a phpbb3 html file?


I am trying to include the header of my website in the header of the phpbb3 html file using

<!-- INCLUDEPHP ../../../../ -->

I am using an inc file which doesn't work, it works when I use

<!-- INCLUDE ../../../../ -->

but the php doesn't. I have also tried creating a php file called header.php which has the line

<?php include(""); ?>

but this does nothing! How can I get this to work!

You need to use an absolute path

<?php include('/home/usr_name/www/includes/inc/') ?>

or a relative path

  <?php include('../../../../') ?>