[nycphp-talk] Windows not processing form?
John Lacey
jlacey at att.net
Fri Oct 15 18:36:30 EDT 2004
Aaron Fischer wrote:
> 1. Yes, closing form tag present.
> 2. MS SP 1, not yet installed SP 2.
>
> I'll have to do some digging to confirm, but I don't think it's proxied.
>
Aaron,
Some browsers won't put anything in the $_POST['submit'] field.. try
this script on your various browsers and let us know what you get:
<html>
<body>
<?php
if (isset($_POST['go']) || isset($_POST['submit'])) {
print_r($_POST);
die();
} else { ?>
<form method="post" action="<?=$_SERVER['PHP_SELF']?>">
<input type="text" name="value1"><br>
<input type="text" name="value2"><br>
<input type="hidden" name="go" value="1">
<input type="submit" name="submit"><br>
</form>
<?
}
?>
</body>
</html>
More information about the talk
mailing list