note 34973 deleted from function.include by vincent
| From: | vincent@php.net | Date: | Wed, 13 Aug 2003 20:16:25 +0000 |
| Subject: | note 34973 deleted from function.include by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54107@lists.php.net to get a copy of this message | ||
Note Submitter: cmerot AT yahoo.fr
----
i've noticed something not explained here :
i have 3 files :
./test.php, ./test/test2.php, ./test/test3.php
example working when i get ./test.php :
./test.php
<?php include('./test/test2.php'); ?>
./test/test2.php
<?php include('test3.php');?>
./test/test3.php :
<?php echo "Success !!";?>
example not working when i get the same ./test.php :
./test.php
<?php include('./test/test2.php');?>
./test/test2.php
<?php include('./test3.php');?>
./test/test3.php :
<?php echo "Success !!";?>
Does it mean including a file can make the relative path change ?