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> &nbsp; &nbsp;
 <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


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

Reply via email to