note 87242 deleted from function.include by thiago
| From: | thiago@php.net | Date: | Wed, 26 Nov 2008 12:49:38 +0000 |
| Subject: | note 87242 deleted from function.include by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146977@lists.php.net to get a copy of this message | ||
Note Submitter: OelieWoop
----
Accidently i discovered this:
PHP Version 5.2.5
Directory structure:
index.php
setup/setup.php
setup/setup_db.php
index.php:
<? include('setup/setup.php'); ?>
setup.php:
<? include('setup_db.php'); ?>
It does include the same file as
<? include('setup/setup_db.php'); ?>
Thought without changing the Current Working Directory
Very interesting feature, has it always been there?
More info:
getcwd();
chdir();