467,104 Members | 1,014 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

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

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
  • viewed: 1966
Share:
3 Replies
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
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
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.

Similar topics

reply views Thread by Antonio Gulli | last post: by
7 posts views Thread by header_question | last post: by
18 posts views Thread by John Smith | last post: by
57 posts views Thread by Xarky | last post: by
4 posts views Thread by Peter Schmitz | last post: by
3 posts views Thread by Paul W | last post: by
35 posts views Thread by Thierry Loiseau | last post: by
8 posts views Thread by dmp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.