I'm sure I have a problem with my server, I'm using IIS on win2k and I'm having 
problems with forms, just a basic input to a form, then sending the info to a php 
script to output the input.  The same script DOES work on an apache server, but it 
doesnt work on my IIS server.  I can do other things with php on my computer like 
connec to and display contents from a mysql database.  I only seem to be having 
problems with forms at the moment.  Im using IIS that is on the win2k pro cd ( I think 
its IIS 5), the latest version of php running as cgi.  

This is my html form

<form method="post" action="form01.php">
Enter Your Name
<input type="text" name="userName"><br>
<input type="submit" name="submit" value="Submit form">
</form>

This is my php script

<?php
if ($submit=="Submit form")
{
 echo "Hello, $userName";
}
?>

Reply via email to