I believe that require() and require_once() have a problem with relative paths.

See here for more info:


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.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to