Forum Moderators: coopster
$_SERVER["DOCUMENT_ROOT"]
would be the same server path as if you referenced / on a web page. It is the root of the domain.
you can use include with the absolute path from the root of the webserver
try echo'ing $_SERVER["DOCUMENT_ROOT"]
and see what it gives you.
Try :
chmod 777 /htdocs/header/
That'll let you know if it's a permission issue.
If that doesn't work, then try calling header01.html relative to where root is. I'm not sure how you have your directories structured in Linux, but if you have your PHP file that you want to include header01.html in /home/www/, and header01.html is in /htdocs/header/, try this :
include("../../htdocs/header/header01.html");
-panic