php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28500 Form Submission Refresh Problem
Submitted: 2004-05-24 04:09 UTC Modified: 2004-05-24 06:36 UTC
From: carlcastoldi at hotmail dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.3.4 OS: Apache
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: carlcastoldi at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-05-24 04:09 UTC] carlcastoldi at hotmail dot com
Description:
------------
File name "searchstudent.php" contains a form that calls itself upon submission to enter the form data into a database.  

Problem : instead of submiting Form variables, page refreshes itself.  

Code works on a Windows 2000 Pro IIS / PHP 4.0.4 server but not on an Apache with PHP 4.3.4, nor on a Windows 2000 / PHP 4.3.5.  Is there something in the php.ini file I should be made aware of?

Reproduce code:
---------------
<? if (isset($Submit)
   { 
      // UPDATE DATABASE WITH FORM Values
   }
else
{
<?
<form method="post" action="searchstudent.php">
..
..
<input type="submit" name="Submit" value="Search">
</form>

<?
}
?>

Expected result:
----------------
Expected result is a successful submission of the form.

Actual result:
--------------
Actual result, page refreshes with empty textfield, etc.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-24 04:20 UTC] carlcastoldi at hotmail dot com
Problem resolved in PHP.ini file
 [2004-05-24 06:36 UTC] pollita@php.net
register_globals

not bug == bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC