--- Al <[EMAIL PROTECTED]> wrote: > Why does the absolute path work and not document_root? > > include ("$DOCUMENT_ROOT/root_functionsT.php"); > //error message says function undefined > > include ("/www/r/myID/htdocs/root_functions.php"); > // Works just fine
Try $_SERVER['DOCUMENT_ROOT'] and see if that works. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php