W
wherewolf
I have a very simple test page that works just fine in Firefox 1.0 and
does not seem to work at all in IE6. Though the form is processed by
PHP, it doesn't seem as if it ever gets a chance to process when
clicking submit in IE. It doesn't matter if I am clicking on Submit or
hitting enter, btw.
Here is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>test form</title>
</head>
<body>
Submit test page<br>
<br>
<form method="post" action="testcatch.php"
name="testform"><input size="15" name="firstname"><br>
<button value="submit" name="submit">Submit</button></form>
</body>
</html>
The testcatch.php file is:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>test catch</title>
</head>
<body>
test catch page... you get here by clicking Submit<br>
<?php $firstname = $_POST['firstname'];
echo "firstname = " . $firstname . "<br>";
?>
</body>
</html>
does not seem to work at all in IE6. Though the form is processed by
PHP, it doesn't seem as if it ever gets a chance to process when
clicking submit in IE. It doesn't matter if I am clicking on Submit or
hitting enter, btw.
Here is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>test form</title>
</head>
<body>
Submit test page<br>
<br>
<form method="post" action="testcatch.php"
name="testform"><input size="15" name="firstname"><br>
<button value="submit" name="submit">Submit</button></form>
</body>
</html>
The testcatch.php file is:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>test catch</title>
</head>
<body>
test catch page... you get here by clicking Submit<br>
<?php $firstname = $_POST['firstname'];
echo "firstname = " . $firstname . "<br>";
?>
</body>
</html>