ID: 28500
Updated by: [EMAIL PROTECTED]
Reported By: carlcastoldi at hotmail dot com
-Status: Closed
+Status: Bogus
Bug Type: Performance problem
Operating System: Apache
PHP Version: 4.3.4
New Comment:
register_globals
not bug == bogus
Previous Comments:
------------------------------------------------------------------------
[2004-05-24 04:20:04] carlcastoldi at hotmail dot com
Problem resolved in PHP.ini file
------------------------------------------------------------------------
[2004-05-24 04:09:47] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28500&edit=1