homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Outputting associated files and array names

10+ Year Member

Msg#: 4129023 posted 10:00 pm on May 7, 2010 (gmt 0)

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.



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

Msg#: 4129023 posted 8:52 pm on May 19, 2010 (gmt 0)

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]?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved