From: carlcastoldi at hotmail dot com
Operating system: Apache
PHP version: 4.3.4
PHP Bug Type: Performance problem
Bug description: Form Submission Refresh Problem
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.
--
Edit bug report at http://bugs.php.net/?id=28500&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28500&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28500&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28500&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28500&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28500&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28500&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28500&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28500&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28500&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28500&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28500&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28500&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28500&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28500&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28500&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28500&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28500&r=float