NYCPHP Meetup

NYPHP.org

[nycphp-talk] $_SERVER['DOCUMENT_ROOT']

Ben Ramsey ben at atlphp.org
Wed Dec 15 15:12:57 EST 2004


John Nunez wrote:
> print_r out the $_SYSTEM variable to see if IIS has renamed it.

Or don't use the $_SYSTEM variable at all and use realpath() or 
pathinfo()...

http://www.php.net/realpath
http://www.php.net/pathinfo

-- 
Ben Ramsey
Zend Certified Engineer
http://benramsey.com



More information about the talk mailing list