ID: 10043
Updated by: torben
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Web Server problem
Assigned To:
Comments:
What happens if you test $HTTP_POST_VARS['submit'] instead of just $submit? Sounds to
me like you don't have register_globals turned on in php.ini. Can you check that
(also, make sure your test isn't happening inside any function) and post your results
back here?
Thanks,
Torben
Previous Comments:
---------------------------------------------------------------------------
[2001-03-28 17:11:26] [EMAIL PROTECTED]
Seems as though the action handler doesn't work. PHP page is coded as its won form
handler. Hitting "submit" simply reloads page with all the form variables not set.
No errors either... I tried on Apache 1.3.x / IIS4.0 both CGI and ISAPI.
<?
if ($submit=='') {
echo <<<EOT
<html><head><link rel="stylesheet" type="text/css" href="cbox-exp.css"></head>
<FORM method=post action=cutsheet.php>
...snip...
<BUTTON type="submit" NAME="submit" value="submit">Submit</BUTTON></FORM>
</body>
</html>
EOT;
}
else {
#begin form handler...
echo "Made it!";
}
?>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10043&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]