Hiya everyone,
I need help again!
I'm include files in to pages on the website.
with some of the includes, includes other include files.
It all works ok when I run the index.php in the root directory.
but when i run a page in sub folders I get error messages.
I think I know why I get the error messages but I dont know how to fix them.
All the include files are kept in a directory called "include" under the root directory.
So the index.php in the root asks for :
<?php require("include/file_name.inc"); ?>
The index.php in the sub directory asks for:
<?php require("../include/file_name.inc"); ?>
But with the include files, they ask for:
<?php require("include/file_name.inc"); ?>
Is there away of making this work?
Thanks
BIGmrC