You should check the documentation on this because I'm just a *total* newbie to PHP (just wrote a "hello world" last night in fact!) but doesn't $DOCUMENT_ROOT provide the path to your HTML document root so that:
Originally posted by mad-onion
With includes, or whenever you are using files with PHP use the entire path.
It will be something like
Thats how i always do it unless the files are in the same dir as the one calling them.
Its easiest in my opinion. :)