note 41404 deleted from function.include-once by irchtml

From: Date: Thu, 08 Apr 2004 18:06:20 +0000
Subject: note 41404 deleted from function.include-once by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67836@lists.php.net to get a copy of this message
Note Submitter: FHlist at Hotmail.com ---- With Apache 2.0.49 running on Windows 2000, if you use two different relative path to the same file in an include_once(), the file is considered as two different files and it's been reloaded. On an older version (don't know the version), it work. For exemple: directory structure: root root/dir1 root/dir1/subdir lib.php located in the root folder the include_once from root/dir1 will be include_once("../lib.php"); the include_once from root/dir1/subdir will be include_once("../../lib.php"); Is anybody know if there are an Apache setting that will fix this? Thanks

« previous php.notes (#67836) next »