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?


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

Reply via email to