> 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]
> 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
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
3 matches
Mail list logo