Hi,
We are starting with PHP + Apache and we made a small file in order to test our servers.
PHP file (cores.php3):
<body bgcolor="#C0C0C0">
<?
if($h != 1)
$color = Red
?>
<table width="50%" bgcolor="<? echo $color; ?>">
<caption><? echo $color; ?></caption>
<tr>
<td><table width="50%" bgcolor="<? echo $color; ?>">
<caption><? echo $color; ?></caption>
<tr>
<td><form method="POST" action="cores.php3">
<input type="text" name="color">
<input type="hidden" name="h" value="1">
<input type="submit" value="perta"></td>
</tr>
</table>
<br></td>
</tr>
</table>
<br>
<?
echo "<center><b><h2>$color</b></h2></center>";
?>
The main problem is: When we try this file on a Windows machine running Apache and PHP4.0.3pl1 it works perfectly. When we try it on a Linux Machine running the same configuration, it does not work. If we use the method GET instead of POST on the Linux machine it works too. It's seems that on the linux machine PHP or Apache is not sending the variables or something like that.
Thanks in advance for any information about this problem.
Fabio.