473,396 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
3 2074
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Antonio Gulli | last post by:
I have a large list of DB_Files stored in a directory. I would like to tie all of them to an array of hashes and to search them for key, using the hashes. My idea is rather simple: my...
7
by: header_question | last post by:
Is it best to place all #include files in one header file seperate from all the other files in a project? What is the logic that determines the order of the #include files, does it depend on the...
18
by: John Smith | last post by:
Hi all What does the group think of the practise of including one header file from inside another? I have some legacy code where this has been done, and it creates a dependency on a module...
57
by: Xarky | last post by:
Hi, I am writing a linked list in the following way. struct list { struct list *next; char *mybuff; };
4
by: Peter Schmitz | last post by:
Hi, in my application, I defined a linked list just as follows: typedef struct _MYLIST{ int myval; void *next; }MYLIST; MYLIST head;
3
by: Paul W | last post by:
Hi - I'm developing a 'front-desk' app. to be used over the internet. (SQL-Server back-end). One of the pages will require the user to select an entry from a large (~4000) list of 'member...
35
by: Thierry Loiseau | last post by:
Hello all, and Happy end year 2005 ! Well, I would like to obtain a list of all JavaScript var statement, With "for...in" perharps ? That is bellow my recent test here, but the problem is...
6
by: tgnelson85 | last post by:
Hello, C question here (running on Linux, though there should be no platform specific code). After reading through a few examples, and following one in a book, for linked lists i thought i would...
8
by: dmp | last post by:
What are Linked list? Please somebody show some ready made programs of linked list
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.