setting up local php+apache enviroment on w2k
| From: | FunkyFlo | Date: | Tue, 10 Jun 2003 18:52:38 +0000 |
| Subject: | setting up local php+apache enviroment on w2k | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11055@lists.php.net to get a copy of this message | ||
Hello!
I have a problem with setting up apache+php on my local win2k-machine.
I use apache 1.3.27 and PHP 4.3.2 (installer-package)
When I try to execute this test-script:
<!--begin testscript-->
<form action="/test2.php" method="POST">
<p><b>Enter your Name: </b><br>
<input type="text" name="name" size=25>
<input type="submit" value="Submit">
</p>
</form>
<?php
echo "hello, ".$name." !";
?>
<!--end--->
I get following error:
"Notice: Undefined variable: name in f:\programme\apache
group\apache\htdocs\test2.php on line 8"
The strange thing, is that the same script DOES work on my webspace, at:
http://www.phonky.net/test2.php
I have no idea, what could be wrong with my local php-enviroment - do
you?
Thanks a lot for your help!
FunkyFlo