Re: php install
| From: | Matthew Kurowski | Date: | Wed, 17 Jul 2002 13:23:41 +0000 |
| Subject: | Re: php install | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7778@lists.php.net to get a copy of this message | ||
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" <sereikeo@optushome.com.au>
To: <php-install@lists.php.net>
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";
}
?>