Re: Help?

From: Date: Mon, 21 Jul 2003 09:55:57 +0000
Subject: Re: Help?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156031@lists.php.net to get a copy of this message
See archive posts about register_globals which came in php 4.1 (I think) if you don't want to change your scripts you can turn off register_globals in the .htaccess or php.ini files On 21/7/03 10:34 am, "chenqi1@zte.com.cn" <chenqi1@zte.com.cn> wrote: > I installed apache1.3.12 as the web server and php5 beta version,I write a > test.html and test.php like this: > //test.htm > > <form action="test.php" method="post"> > Name:<input type="text" name="name"><br> > <input type=image src="image.gif" name="sub"> > </form> > //test.php > <?php > echo "Hello!".$name ; > ?> > the same source works well with php4 and apache 1.3.27 > but it doesn't work well in my new enviroment, until I modified test.php > like this > //new test.php > <?php > echo "Hello!".$_POST['name'] ; > ?> > > who can tell me which one cause this problem,Is the version php5 not > satisfy or the apache 1.3.12? > Ryan Gibson ----------- ryan_gibson@jmp-partnerhip.co.uk

« previous php.general (#156031) next »