Click to See Complete Forum and Search --> : Listing included files


hifibee
09-16-2006, 01:13 AM
Hi,

Is there any built-in function or any method by which we can list all the file names included in a PHP page.

Thnx

NogDog
09-16-2006, 01:42 AM
get_included_files (http://www.php.net/get_included_files).

(I didn't know this until now, but it's amazing what you can find out when you go to the manual page for include (http://www.php.net/include) and scroll down to the "See also" section. ;) )