By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,723 Members | 1,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,723 IT Pros & Developers. It's quick & easy.

List of files fetched via include() or require()

P: n/a
Hello!

I want to be able to, at the end of an executed file, summarize what files it
included and required (via include() and require()). I have a very dynamic
script that depending on the situation handles several different files and
scripts.

To aid in developing, listing them would be helpful, to troubleshooting
problems. Iss there a way to list all the files that have been included along
the way?

Thanks in advance

--
Sandman[.net]
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <mr**********************@individual.net>, Sandman <mr@sandman.net>
wrote:
Hello!

I want to be able to, at the end of an executed file, summarize what files it
included and required (via include() and require()). I have a very dynamic
script that depending on the situation handles several different files and
scripts.

To aid in developing, listing them would be helpful, to troubleshooting
problems. Iss there a way to list all the files that have been included along
the way?

Thanks in advance


Never mind, I found the function. :)

--
Sandman[.net]
Jul 17 '05 #2

P: n/a
For who need to know, the function is get-included-files()

Savut
http://www.savut.com

"Sandman" <mr@sandman.net> wrote in message
news:mr**********************@individual.net...
Hello!

I want to be able to, at the end of an executed file, summarize what files
it
included and required (via include() and require()). I have a very dynamic
script that depending on the situation handles several different files and
scripts.

To aid in developing, listing them would be helpful, to troubleshooting
problems. Iss there a way to list all the files that have been included
along
the way?

Thanks in advance

--
Sandman[.net]


Jul 17 '05 #3

P: n/a
In article <SM********************@news20.bellglobal.com>,
"Savut" <we***@hotmail.com> wrote:
I want to be able to, at the end of an executed file, summarize what
files it included and required (via include() and require()). I have
a very dynamic script that depending on the situation handles several
different files and scripts.

To aid in developing, listing them would be helpful, to
troubleshooting problems. Iss there a way to list all the files that
have been included along the way?

Thanks in advance


For who need to know, the function is get-included-files()


Or rather get_included_files(). :)

--
Sandman[.net]
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.