PHP 4.0 Bug #10043: action handler not working
| From: | vlad at nikita dot net | Date: | Wed, 28 Mar 2001 22:11:26 +0000 |
| Subject: | PHP 4.0 Bug #10043: action handler not working | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50171@lists.php.net to get a copy of this message | ||
From: vlad@nikita.net
Operating system: WinNT40 sp6
PHP version: 4.0.4pl1
PHP Bug Type: *Web Server problem
Bug description: action handler not working
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!";
}
?>
--
Edit Bug report at: http://bugs.php.net/?id=10043&edit=1