i am using php v4.2.1
i face a problem when run the code below (test.php)
<?php
if($name){
echo("$name");
}
else{
echo("<form name='asdf' method=\"post\" action=\"test.php\">please input your name<input name=\"name\" type=\"text\"><input name=\"enter\" type=\"submit\" value=\"enter\">");
}
?>
it seem that the file didn't receive the var passed to itself after the user submit their name, i wonder what is the problem, could it be a configuration problem? i run php as a service of Apache v 1.3 on windows 2000 server, can anyone help me? thanks