Posted by matt on 10/26/06 23:28
Hello
Any help appreciated.
I have a php file which contains a request for a header and footer.
This file is in http://www.mydomain.com/folder1/folder2/index.php
If I have my header and footer in:
http://www.mydomain.com/folder1/includes/header.inc
http://www.mydomain.com/folder1/includes/footer.inc
What is the path to these files that I should use in the index.php file
to access these include files?
Do I have to use the full static URL
(http://www.mydomain.com/folder1/includes/header.inc)?
Or is there a way like "//includes/header.inc"
Where I can come down a level in the heirarchy and reach the file?
Thanks for your help.
[Back to original message]
|