Originally posted by Praesius
I had exactly the same problem as you: Apache 2.0.40 and PHP 4.2.3... thinking it was due to Apache 2.0, I downgraded it to 1.3.26 but I still have the problem!!! No way to pass variables in my browser...
maybe I'm doing something wrong but I really don't know what... please someone give me an idea!
thanks
I have also tried using Apache 1.3.26 with PHP4.3, but the problem persists.
Here is my test files:
------------------- test.htm -------------------------------------
<html><head>
<title>Test</title>
<head><body>
<form name="test" action="test.php" method="post">
<input type="text" name="name" >
<input type="submit" name="Submit" value="Submit">
</form>
</body></html>
------------------- test.php ------------------------------------
<html><head>
<title>PHP Test</title>
</head><body>
<?
if ($name) {echo "Yes!";}
else
{echo "No!";}
?>
</body>
</html>
The answer is always "No!". No matter whether I use "test.htm" or going directly to "test.php" by this url:
http://localhost/test.php?name=somebody