|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-11 14:58 UTC] sniper@php.net
[2007-06-12 07:03 UTC] stane dot ferencak at gmail dot com
[2007-06-25 19:09 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 07:00:02 2025 UTC |
Description: ------------ As of PHP 5.2.X the POST behavior in submitting the form is not the same as in 5.1.X or 4.X.X. It seems that MS Internet Explorer 6.0 and 7.0 are having problem with form submit request (POST), which are posted immediately one after another. User has to wait for 5 seconds in order for submit to work correctly. This problem disappears when working with Mozilla Firefox. Reproduce code: --------------- <?php print_r($_POST); ?> <br/> <form method="post" action=""> <select name="idlang"> <option value='us'>English</option> <option value='de'>Deutsch</option> </select> <br/> <input name="select" type="submit" value="Select" /> </form> Expected result: ---------------- User wants to use form submit (POST) one after another with minimum delay. _POST array should contain values of submit request. <?php Array ( [idlang] => us ) ?> After successive form submit (POST) on MS IE 6.0 or 7.0 the second request is not succesfull. POST array is empty in this case . Actual result: -------------- After successive form submits (POST) on MS IE 6.0 or 7.0 the second request is not successful. After second submit, form is submitted but POST array is empty. But after 5 seconds delay between two submit requests, _POST returns the expected result - is not empty. <?php Array ( ) ?>