need explanation about includes

From: Date: Sun, 15 Dec 2002 05:43:02 +0000
Subject: need explanation about includes
Groups: php.windows 
Request: Send a blank email to php-windows+get-17413@lists.php.net to get a copy of this message
I have installed php-4.3.0 (I tried 4.2. but I couldn't make Apache2 to run with it here in win32). Now I noticed a different behaviour in respect of 4.0.6 installed before. I use php_lib_login 0-9b to manage session login and I found it nice and quite reliable for my job; but when i went to test my scripts with new version of php i got no output from them. I disabled the include of php_lib_login and they are ok. After some trouble i found the problem: from php_lib_login : @include("php_lib_login_includes/adodb/adodb.inc.php"); // * @include("adodb/adodb.inc.php"); //ugly but prevents user from fiddling with paths @include("php_lib_login_includes/languages.inc.php"); // * @include("languages.inc.php"); disabling the 2 lines I marked with * the scripts runs ok. Someone can tell me where is the problem? many thanks. N.B. If i put the entire scripts php_lib_login inline in my scripts all is ok without removing the two incudes. Davide.

« previous php.windows (#17413) next »