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
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
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
[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
4 matches
Mail list logo