note 42895 deleted from function.get-included-files by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 00:05:27 +0000 |
| Subject: | note 42895 deleted from function.get-included-files by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141822@lists.php.net to get a copy of this message | ||
Note Submitter: php at bronosky dot com
----
Just FYI, the given example will return this ONLY if executed from the filesystem root:
abc.php
test1.php
test2.php
test3.php
test4.php
What makes this function useful is that it actually returns the complete path of each file. Like
this:
/path/including/document_root/to/abc.php
/path/including/document_root/to/test1.php
/path/including/document_root/to/test2.php
/path/including/document_root/to/test3.php
/path/including/document_root/to/test4.php