2008/8/29 Saurabh Agrawal <[EMAIL PROTECTED]>:

> In one of the examples, I am supposed to access _SERVER['DOCUMENT_ROOT'].
> However, when I am seeing its value in the debug stack, I am getting it to
> be null! Even phpinfo() is showing that this particular variable does not
> even exist, though there are other _SERVER[''] declarations.

What's DocumentRoot set to in your Apache config? (httpd.conf) Check
any VirtualHost blocks you might have, too.

What's the result of print_r($_SERVER); ?

-- 

http://www.otton.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to