Re: setting up local php+apache enviroment on w2k

From: Date: Wed, 11 Jun 2003 02:47:52 +0000
Subject: Re: setting up local php+apache enviroment on w2k
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-11059@lists.php.net to get a copy of this message
Please use following... <?php echo "hello, " . $_POST["name"] " !"; ?> Funkyflo wrote:
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


« previous php.install (#11059) next »