Welcome to WebmasterWorld Guest from 18.104.22.168
We simply want to use php includes to reference the header and footer of a site. When the files are in the same directory - all is good. But they won't be. When i move them to where they will live - i get errors.
Any ideas? I've tried using the document root and nothing seems to help.
[edited by: eelixduppy at 5:47 pm (utc) on Jan. 21, 2009]
[edit reason] no personal URLs, please [/edit]
There are a bunch of things that could be going wrong. Are you getting any errors from the script you are trying to include these files into?
If you move the header into a directory say /includes/
then you need to make a file with whatever name you want to use, the example above would require a file name called footer.php, this can be any name you want it to be