Posted by Al on 03/02/05 21:21
I've been using in my scripts $_SERVER['DOCUMENT_ROOT'] to find the base path for includes, etc. We just moved the site to a new virtual host and it doesn't work. print_r() gives me: > $_SERVER['document_root']= /usr/local/apache/htdocs > $_SERVER['path_translated']= /home/user/public_html/ What do you guys use for you docroot?
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming