Yep and I found it in the New Year!
calendar.php includes calendar.inc.php
calendar.php then will include calendar_data.php if an entry is to be added to the calendar
calendar_data.php includes calendar.inc.php - OOPS
Again, it's rather strange that in PHP 4.3.9 and below this is ok, even with include_once unsuppressed, whereas in newer versions of PHP this produces a fatal error; I would think it should always be a fatal error.
Which would you recommend:
1) I wrap the second "include" around a particular "if (!function_exists('some_function_that_should_be_found_in_calendar.inc.php')) {include_once('calendar.inc.php')}"
2) I wrap every function in calendar.inc.php around individual "if (!function_exists('this_function')) { function this_function() }"
Phil