Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Bug in last php version
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

Report this thread to moderator Post Follow-up to this message
Old Post
ramymb@gmail.com
08-19-07 12:01 AM


Re: Bug in last php version
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 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

Report this thread to moderator Post Follow-up to this message
Old Post
Hannes Magnusson
08-19-07 12:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Mirrors archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:01 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.