[PLUG] Another PHP & MySQL problem
Aj Lavin
aj at haightmail.org
Sun Mar 24 01:12:38 UTC 2002
On Sat, Mar 23, 2002 at 03:40:37PM -0800, Richard Steffens wrote:
> Brent Washburne wrote:
>
> > Do any of these also include db_fns.php, directly or indirectly?
> > > include_once("data_valid_fns.php");
> > > include_once("output_fns.php");
> > > include_once("book_fns.php");
> > > include_once("user_auth_fns.php");
> > > include_once("admin_fns.php");
> > > include_once("order_fns.php");
>
> db_fns.php does not appear in any of the files except
> user_auth_fns.php, which starts out with:
>
> require_once("db_fns.php");
>
> By commenting out that require_once, the page opens, and most of the
> entire site seems to work, though it will take a bit of playing with
> to test everything.
Try replacing require_once with include_once. Mixing them might not
work in the version you are using.
Older versions of PHP may have kept separate file lists for these two
functions. Having difficulty documenting this theory, though.
- Aj
More information about the PLUG
mailing list