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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 20 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Mar 19 05:01:29 2024 UTC