Quick Directory Question

From: Date: Thu, 08 Feb 2001 17:57:15 +0000
Subject: Quick Directory Question
Groups: php.general 
Request: Send a blank email to php-general+get-38797@lists.php.net to get a copy of this message
I can use "$DOCUMENT_ROOT/includes/" to refer to my includes folder if it is at the top of my web directory. This works consistently no matter where about in the site I call it from. Is there a similar easy way to refer to a folder that is placed outside the web tree (above the web directory) for security? The only way I seem able to do it is using "../../../includes/", for example, which naturally depends on how deep in the website I am. FTFM me if I have missed something built in and obvious. Andy Clarke ------------------------------------------------ Andy Clarke 78 West Kensington Court, Edith Villas, London, England W14 9AB phone: 44 (0)20 7602 3382 mobile: 07947 418177 Freelance Lingo/PHP Programmer andy@kinonet.com ------------------------------------------------

« previous php.general (#38797) next »