homepage Welcome to WebmasterWorld Guest from 23.23.2.137
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

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
dougmcc1




msg:4129025
 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.

 

coopster




msg:4135555
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved