Re: ability to find include files...

From: Date: Sun, 16 Nov 2008 13:50:54 +0000
Subject: Re: ability to find include files...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-283331@lists.php.net to get a copy of this message
At 3:07 PM -0800 11/15/08, bruce wrote:
Hi list... starting to go through a debug/understanding session of a couple of php web apps. i'm wondering if there's any kind of tool/method that i can use to see which files are accessed/included/required when a given page is displayed.. this would allow me to quickly understand the "flow" of the apps. searching via google hasn't really turned up anything... thoughts/comments/pointers welcome.
One of the techniques I use is to place an "echo('<include name>');" at the top of all includes. Then when parent scripts are run, you see which includes are loaded. I also do this to see if an include has any problems -- for if it does, then you won't see it report. HTH's tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#283331) next »