[SOLVED] include() trouble
Posted: Thu Dec 15, 2005 5:32 pm
I include files in a file that is included on every page on my site.
Example:
top.php
Then in all my files I include top.php. The problem is that when I include top.php in a subdirectory of my site, con.php and functions.php won't be included too. How can I fix this?
Example:
top.php
Code: Select all
// Some html stuff is here
<?php
include('/con.php');
include('/function.php');
?>
// Other html stuff is here