Re: storing inc.php outside doc root
| From: | Marek Kilimajer | Date: | Thu, 31 Oct 2002 12:35:37 +0000 |
| Subject: | Re: storing inc.php outside doc root | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122242@lists.php.net to get a copy of this message | ||
What error do you get, this should generaly work
rolf vreijdenberger wrote:
hi, I want to include a file that is one directory above my web document root on the server. eg. www.mydom.com/file.php wants to include a file that is one dir higher, so that file is not accesible via the web. how can I access this file, if I specify a include("../inc.php"); it doesn't work. I also want to use this for downloading files only via php scripts! thanks -- Rolf Vreijdenberger De Pannekoek en De Kale Maystraat 6 2593 VW Den Haag T: 06-24245719 E: rolf@depannekoekendekale.nl W: www.depannekoekendekale.nl