Home > Archive > PHP Mirrors > August 2007 > Bug in last php version
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Bug in last php version
|
|
| ramymb@gmail.com 2007-08-18, 7:01 pm |
| Dear sir,
Now I using the php 5.2.3 with IIS on windows 2003, all scripts is not working in this version where I'm detect the php is save the function declaration in cash, you can use the code:
<?
function test(){ return 2; }
echo '<form name="FormName" action="" method="post">
<input type="submit" value="Send">
</form>';
?>
please click on submit many time, you must have the msg:
Fatal error: Cannot redeclare test() (previously declared in C:\accounts\panela\tmp\bug.php:2) in C:\accounts\panela\tmp\index.php on line 2
please give me how can I solve this problem?
Thanks
Ramy
| |
| Hannes Magnusson 2007-08-18, 7:01 pm |
| On 8/18/07, ramymb@gmail.com <ramymb@gmail.com> wrote:
> Dear sir,
> Now I using the php 5.2.3 with IIS on windows 2003, all scripts is not working in this version where I'm detect the php is save the function declaration in cash, you can use the code:
>
> <?
> function test(){ return 2; }
> echo '<form name="FormName" action="" method="post">
> <input type="submit" value="Send">
> </form>';
> ?>
> please click on submit many time, you must have the msg:
> Fatal error: Cannot redeclare test() (previously declared in C:\accounts\panela\tmp\bug.php:2) in C:\accounts\panela\tmp\index.php on line 2
>
> please give me how can I solve this problem?
Please try http://snaps.php.net/win32/php5.2-w...ller-latest.msi
If you can still reproduce this after installing this snapshot then
please file a bug report at http://bugs.php.net/report.php
-Hannes
|
|
|
|
|