On 24-Mar-2003 daniel wrote:
> hi there is a way to include files once in php3 ?
>
I've always used function_exists():
if (! function_exists('debug'))
include('common.inc'); // get the basics
if (! function_exists('array_pop'))
include('libphp4.php3'); // get emulation lib.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php