PHP 4.0 Bug #7701: loads include files twice

From: Date: Wed, 08 Nov 2000 15:24:15 +0000
Subject: PHP 4.0 Bug #7701: loads include files twice
Groups: php.dev 
Request: Send a blank email to php-dev+get-37436@lists.php.net to get a copy of this message
From: fmoreira@imediata.pt Operating system: W2k IIS5 PHP version: 4.0.3pl1 PHP Bug Type: IIS related Bug description: loads include files twice sometimes... I can't especify how or the circumstances that make it happen. when I load the PHP script (that has an 'include' statement) it loads twice the include file... mod0.php: "if(!$fs) include("funcoes.php");" funcoes.php: " $fs=1; ..." the $fs variable was a way I used to check if the problem is in the script or in the script engine... IF THE BROWSER RELOADS THE PAGE, IT OPENS CORRECTLY... IF THE BROWSER RELOADS THE PAGE AGAIN, HAPPENS THE ERROR AGAIN... I'm using the phpisapi.dll with no extensions -- Edit Bug report at: http://bugs.php.net/?id=7701&edit=1

« previous php.dev (#37436) next »