form values pass fail with iis+php(cgi)
Posted: Mon Dec 02, 2002 12:09 am
I've a problem in passing my form values, very simple example as:(It works fine without IIS, but commit failures once I swith on the IIS web server, WHY?)
<html>
<head>
<title></title>
</head>
<body>
<FORM METHOD="GET" ACTION ="myName.php">
<BR>
<BR>
<font-family: comic sans ms> <b>What is your name?</b> </font>
<input type="text" name="author">
<br><br>
<input type="submit" value="Send">
</FORM>
</body>
</htm>
myName.php:
<html>
<head>
<title></title>
</head>
<body>
Your name is:
<?php
echo $author;
?>
</body>
</html>
<html>
<head>
<title></title>
</head>
<body>
<FORM METHOD="GET" ACTION ="myName.php">
<BR>
<BR>
<font-family: comic sans ms> <b>What is your name?</b> </font>
<input type="text" name="author">
<br><br>
<input type="submit" value="Send">
</FORM>
</body>
</htm>
myName.php:
<html>
<head>
<title></title>
</head>
<body>
Your name is:
<?php
echo $author;
?>
</body>
</html>