Re: Document root
| From: | Analysis & Solutions | Date: | Wed, 13 Aug 2003 04:05:02 +0000 |
| Subject: | Re: Document root | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159391@lists.php.net to get a copy of this message | ||
Hey Mukta:
On Tue, Aug 12, 2003 at 04:27:55PM +0000, Mukta Telang wrote:
> Is there any constant in php like $DOCUMENT_ROOT which holds path to the
> "Document root" of the server?
1) $_SERVER['DOCUMENT_ROOT']
2) Check out phpinfo(). It will produce answers to this and MANY other
questions for you in the future.
3) Fix the clock/timezone on your computer. Your messages are coming in
out of chronological order.
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409