note 42895 added to function.get-included-files
| From: | php at bronosky dot com | Date: | Wed, 02 Jun 2004 21:46:30 +0000 |
| Subject: | note 42895 added to function.get-included-files | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70694@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.get-included-files.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42895
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42895&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42895&report=yes
Search -- http://master.php.net/manage/user-notes.php