Re: [PHP] getting list of files included

2006-01-20 Thread John Nichel
Diana Castillo wrote: does anyone know of a command in php that will give you a list of the files already included . Something that would tell you whether a file is already included before you do the require_once ? If you're using include|require_once, why worry if it's already been inclu

RE: [PHP] getting list of files included

2006-01-20 Thread Richard Correia
Check the example at http://www.weberdev.com/Manuals/PHP/function.get-included-files.html Thanks, Richard -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 11:55 PM To: php-general@lists.php.net Subject: [PHP] getting list of files included

Re: [PHP] getting list of files included

2006-01-20 Thread Silvio Porcellana [tradeOver]
Diana Castillo wrote: does anyone know of a command in php that will give you a list of the files already included . Something that would tell you whether a file is already included before you do the require_once ? Try this: http://php.net/manual/en/function.get-included-files.php Oh, and

RE: [PHP] getting list of files included

2006-01-20 Thread Jay Blanchard
[snip] does anyone know of a command in php that will give you a list of the files already included . Something that would tell you whether a file is already included before you do the require_once ? [/snip] There is not a command or function built in, but http://www.php.net/include has a disc