[PHP-WIN] different bug - define constants/includes (was Re: [PHP-WIN] class and dynamic includes (IIS))

2001-03-20 Thread Joe Brown
I did some tracing on this bug I was experiencing. With this code at the top of an include file, the results are unpretictable. if(!defined("METABASE_MYSQL_INCLUDED")) { define("METABASE_MYSQL_INCLUDED",1); ...rest of include file... } require_once(); seems to work though. ""Joe Brown"" <[E

[PHP-WIN] class and dynamic includes (IIS)

2001-03-19 Thread Joe Brown
This appears to be an IIS specific issue. Using IIS and Manuel Lemos' Metabase, I'm getting errors in metabase_interface.php. Fatal error: Cannot instantiate non-existent class: metabase_oci_class in metabase/metabase_interface.php on line 99 It's quite inconsistent. After recieving this error