|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-23 08:24 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Mar 08 10:00:01 2026 UTC |
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