Re: [PHP] Question about $DOCUMENT_ROOT and include

2003-02-05 Thread Al
Thanks for the feedback That works if I leave off the quotes from around DOCUMENT_ROOT. Simply $_SERVER[DOCUMENT_ROOT] I'd really like to get this working in the htaccess file. php_value include_dir ".:/www/r/myID/htdocs/" I redoing a site with several php files in assorted directories and

Re: [PHP] Question about $DOCUMENT_ROOT and include

2003-02-05 Thread Chris Shiflett
--- 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 s