PHP 4.0 Bug #7701 Updated: loads include files twice
| From: | sniper@php.net | Date: | Fri, 09 Mar 2001 01:34:12 +0000 |
| Subject: | PHP 4.0 Bug #7701 Updated: loads include files twice | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48368@lists.php.net to get a copy of this message | ||
ID: 7701
Updated by: sniper
Reported By: fmoreira@imediata.pt
Old-Status: Feedback
Status: Closed
Bug Type: IIS related
Assigned To:
Comments:
No feedback.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-28 16:06:13] jmoore@php.net
Can reproduce this on Win2k IIS 5.0, please upgrade to latest verison of PHP and report if it still
doesnt work
James
---------------------------------------------------------------------------
[2001-01-28 15:55:55] jmoore@php.net
lets actually assign this this time and see if I remember to do it ;)
---------------------------------------------------------------------------
[2000-12-30 12:18:06] jmoore@php.net
Ill try to recreate this one and get to the bottom of it.
James
---------------------------------------------------------------------------
[2000-11-08 17:21:55] fmoreira@imediata.pt
after trying include_once the same error ocurrs
"Fatal error: Cannot redeclare imagens_carregar() in include/funcoes.php on line 18"
imagens_carregar() is the first function in the included file
---------------------------------------------------------------------------
[2000-11-08 16:24:15] fmoreira@imediata.pt
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
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7701&edit=2