To illustrate the problem I'm having, I created a very simple form called TestForm.php .

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test Form</title>
</head>
<body>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<table>
<tr><td>Name</td><td><input type="text" name="name0"/></td></tr>
<tr><td>Age</td><td><input type="text" name="age0"/></td></tr>
</table>
<input type="submit" name="SubmitMe" value="Submitted" />
</form>
</body>
</html>


I first set the method for the form to GET and the page loaded again after the submit.
When I changed the method back to POST, I received a Page Not Found error page.
I created another page testform3.php to display the Form Values after submit. I changed the action on the form to testform3.php.


I am frustrated.
Once again the particulars of this server.
Windows 2k Server SP4
IIS 5
PHP 5.04
MySQL 4.1.11

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to