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, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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
-----------
[EMAIL PROTECTED]


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

Reply via email to