|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-16 10:22 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 04:00:01 2025 UTC |
Description: ------------ include previous directory's file doesn't change include_path directory Reproduce code: --------------- execute from browser a/b/b.php files: -- file name: a/b/b.php -- b<br /> <? include("../a.php"); ?> -- end of file -- -- file name: a/a.php -- a<br /> <? include("../root.php"); ?> -- end of file -- -- file name: root.php -- root -- end of file -- Expected result: ---------------- b a root Actual result: -------------- b a Warning: include(../root.php) [function.include]: failed to open stream: No such file or directory