Nuno Rodrigues - 2000-09-14

Hello
I created a directory called /sections/html and I add the top of the php script so the header and the footer. Now when I want to visualise the page I got one error, because header.php and footer.php are not located in the same directory.<br>I also tried with<br>
<?php
if (!isset($mainfile)) { include("../../mainfile.php"); }
include("../../header.php");
?> and
<?php
include("../../footer.php");
?><br> But this also didn't work. When I store my php file on the root it works. how can I make this working from /sections/html?