Code Comments
Programming Forum and web based access to our favorite programming groups.Dear sir,
Now I using the php 5.2.3 with IIS on windows 2003, all scripts is not worki
ng 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\pan
ela\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
Post Follow-up to this messageOn 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 wor
king in this version where I'm detect the php is save the function declarati
on 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\p
anela\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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.