PHP includes?
Posted by: briantg
Posted on: 2006-06-11 10:26:00
I am moving my hosting from anothe host to DH. I have MovableType installed and use a MTinclude to pull in a sidebar that also pulls in a php include.
On the old host I used to use:
<?php require("/home/#USER#/public_html/bookmarks/bookmarks.html"); ?>
However that does not work. So I checked the wiki and have tried this instead:
<?php include($_SERVER['DOCUMENT_ROOT']."/bookmarks/bookmarks.html"); ?>
This is not processing once the MTinclude is pulled into the page.
What is going on? It seems as though the PHP is not even processing.
Thanks for any help.