Msg#: 3784287 posted 10:59 pm on Nov 11, 2008 (gmt 0)
Posting back, maybe this will help someone else.
It seems that part of my confusion is that there isn't one solution for specifying the root path for both HTML paths and PHP paths. At least I can't make one work.
For HTML: A preceding slash '/' does get you to the root for image paths for HTML.
I must have forgotten that gem. This however does not seem to work for PHP paths for use with INCLUDE statements.
For PHP: $_SERVER['DOCUMENT_ROOT'] does work for includes.
However, in my particular instance it does so only on my local server. I am running my site on the Mosso Hosting cloud and $_SERVER['DOCUMENT_ROOT'] does not produce the correct server path, so I have to specify it manually.
$_SERVER['DOCUMENT_ROOT'] does not work for me if echo'd as part of the image tag HREF path.