php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24764 Page Cannot Be Displayed when submitting form using POST method
Submitted: 2003-07-23 01:59 UTC Modified: 2003-07-23 08:24 UTC
From: hksim at rocketmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.2 OS: Linux RedHat 9.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hksim at rocketmail dot com
New email:
PHP Version: OS:

 

 [2003-07-23 01:59 UTC] hksim at rocketmail dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-23 08:24 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is not a PHP bug.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Mar 08 12:00:01 2026 UTC