Re: [PHP] nested include_once()

2001-11-28 Thread Roko Roic
> include_once(). Does it get included TWICE? By "it", I mean lib.php. Sorry Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] nested include_once()

2001-11-28 Thread Roko Roic
> in lib.php > define("__LIB_PHP__",1); > in service.php: > define("__SERVICE_PHP__',1); > if (!__LIB_PHP__){ > require('lib.php'); I am not sure I was clear enough. I _want_ those include_once('lib.php') statements to be in service.php, because service.php could get included from a file ot

Re: [PHP] nested include_once()

2001-11-28 Thread Andrey Hristov
Try with in lib.php define("__LIB_PHP__",1); in service.php: define("__SERVICE_PHP__',1); if (!__LIB_PHP__){ require('lib.php'); } __might__ this help Regards, Andrey Hristov - Original Message - From: "Roko Roic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Novembe