Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Outputting associated files and array names

10:00 pm on May 7, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 28, 2003
posts: 485
votes: 1

Is there any way to output all the tpl files, js files, css files, etc. associated with specific pages on my site?

I use an ecommerce platform and it takes a lot of digging around to find which files to edit in order to make certain changes on my site. I'd like to see an output of all associated files for a given page so I dont have to dig so much.

Also, is there a way to output which arrays are being used on each page? I can output the contents of an array when I know the array name, but a lot of times I dont know the array names being used.

I know this is probably not possible but I wanted to ask anyway. Just thought by chance maybe there might be a tool out there I can download which does this.
8:52 pm on May 19, 2010 (gmt 0)


WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
votes: 2

As far as the css and js files, use something like the Firebug extension in Firefox. Watch the Net tab as the page loads and you can see every HTTP server resource requested on any given page.

From the server side of things, maybe debug_backtrace() [php.net]?