[PHP] Securite problem

2002-02-02 Thread Roebie
Dear all, I have a index.php3 file in a password protected directory (on Windows) which calls two other files with require_once(../code/anolislib2.php3); require_once(../code/pageslib1.php3); These two files are in another (not protected) directory. When I try to open index.php3 with

Re: [PHP] Securite problem

2002-02-02 Thread Jeff Sheltren
I believe that require() and require_once() have a problem with relative paths. See here for more info: http://www.php.net/manual/en/function.require-once.php Jeff At 01:24 AM 2/3/2002 +0100, Roebie wrote: Dear all, I have a index.php3 file in a password protected directory (on Windows) which

Re: [PHP] Securite problem

2002-02-02 Thread rpruitt
There are a few issues that could be involved, but the glaring big one is that require_once() only works with PHP 4 The php3 extensions make me think you should simply use require() Roebie wrote: Dear all, I have a index.php3 file in a password protected directory (on Windows) which calls