Re: [PHP] Re: strange include path error

2007-06-28 Thread Jim Lucas
brian wrote: Greg Beaver wrote: brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php

Re: [PHP] Re: strange include path error

2007-06-28 Thread brian
Jim Lucas wrote: brian wrote: FWIW, i've also carefully gone over the site and everything seems to be in order. The error was triggered when some script included a DB connection script (that has require_once 'MDB2.php';) but, unfortunately, the error msg doesn't specify which it was. I

[PHP] Re: strange include path error

2007-06-27 Thread Greg Beaver
brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php couldn't be found: Failed opening

[PHP] Re: strange include path error

2007-06-27 Thread brian
Greg Beaver wrote: brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php couldn't be found:

[PHP] Re: Strange include

2001-11-01 Thread Chris Lee
this '/' method looks kinda neet, but some vars get messed, ie $PHP_SELF, just be carefull using it. ?php $INC = explode('/', $REQUEST_URI); unset($INC[0]); unset($INC[1]); $INC = implode('/', $INC); include_once($INC); ? Chris Lee [EMAIL PROTECTED] Oòkó‰öårzòËèkó [EMAIL