I have the text above in http://dot.kr/x-test/myPath1/included.phpCode:my INLUDED FILE
And I have the code above in http://dot.kr/x-test/myPath/including.php.Code:<?php include "../myPath1/included.php"; ?>
The two pages produces same result because the second page include the 1st page.
I have the 3rd code above in http://dot.kr/x-test/mother.phpCode:<?php include "myPath/including.php" ; ?>
The 3rd file successfully includes the 2nd file,
The 2nd IN the 3rd file fails to open the 1st file and says the quote below although http://dot.kr/x-test/myPath/including.php succeeds to open the 1st file.
What's wrong with it?Warning: include(../myPath1/included.php) [function.include]: failed to open stream: No such file or directory x-test\myPath\including.php on line 1
"PHP include" doesn't support double relative path ?






Bookmarks