#24764 [NEW]: Page Cannot Be Displayed when submitting form using POST method

From: Date: Wed, 23 Jul 2003 06:59:21 +0000
Subject: #24764 [NEW]: Page Cannot Be Displayed when submitting form using POST method
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44557@lists.php.net to get a copy of this message
From: hksim at rocketmail dot com Operating system: Linux RedHat 9.0 PHP version: 4.3.2 PHP Bug Type: *General Issues Bug description: Page Cannot Be Displayed when submitting form using POST method Description: ------------ I had compile Apache & PHP with the minimal configuration. All component works just fine in the LAMP environment except for one simple javascript with php error. I realize that if I submit a form using the POST method (clicking on a link), it said "Page cannot be displayed" and after hitting F5, the intended page shows up. If i copy and paste the URL, which means the submit method is using GET, it works fine. Wats the problem? Reproduce code: --------------- <select class=text name='view[1257][action]' onchange="if(this.value!='0')if(confirm('Sure to '+this.value+' selected row?'))this.form.submit();"> <option class=text value='0' SELECTED>Action</option> <option class=text value='post' >Post</option> <option class=text value='delete' >Delete</option> </select> <a href="javascript:submit_action('?fa=system.bill.wgrn&form_row=0&view[1816][new_row]=1')">Add New GRN</a> Expected result: ---------------- A new form if "Add New GRN" is clicked -- Edit bug report at http://bugs.php.net/?id=24764&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24764&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24764&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24764&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24764&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24764&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24764&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24764&r=support Expected behavior: http://bugs.php.net/fix.php?id=24764&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24764&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24764&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24764&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24764&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24764&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24764&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24764&r=gnused

« previous php.bugs (#44557) next »