You really didn't say what wasn't working... leaving alot of faith to the
Fates I guess?

I would guess your register_globals is off without even knowing the problem.
Turn it on in php.ini and restart IIS services.


Best,

Matthew Kurowski

----- Original Message -----
From: "Serei Keo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 1:28 AM
Subject: [PHP-INST] php install


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";
}
?>



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

Reply via email to