Re: [PHP] storing inc.php outside doc root/security/includes

2002-11-02 Thread Marek Kilimajer
I know how it works, I just want to know the error (or warning you get) example: *Warning*: Failed opening ... for inclusion (include_path='.:/php/includes:/usr/share/php') in */var/www/... *on line ... Also check if your $_SERVER['DOCUMENT_ROOT'] really corresponds to real filesystem path, for

Re: [PHP] storing inc.php outside doc root

2002-10-31 Thread Marek Kilimajer
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