Re: Securite problem

From: Date: Sun, 03 Feb 2002 00:51:28 +0000
Subject: Re: Securite problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83271@lists.php.net to get a copy of this message
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 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 IE5.5 nothing happens. The files are not included, I get no error message and no code at all is executed. Why is this and what can I do about it ? Thanks for any help. Roebie


« previous php.general (#83271) next »