#28500 [Csd->Bgs]: Form Submission Refresh Problem

From: Date: Mon, 24 May 2004 04:36:11 +0000
Subject: #28500 [Csd->Bgs]: Form Submission Refresh Problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59930@lists.php.net to get a copy of this message
ID: 28500 Updated by: pollita@php.net 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

« previous php.bugs (#59930) next »