I use php 4.4.4 with boa web server on linux. I can't fetch post get variables.
Example:
<form action="/cgi-bin/archiv.php" method="get">
<input type="text" name="pocet" size="7" />
<input type="submit" value="Zobraz"/>
</form>
if (isset($GET['pocet'])) {
$cnt = $GET['pocet'];
echo "pocet $cnt\n";
$tab_arch = 54;
$count = get_vl($a, 1, 54, 3);
if ($count < $cnt) {
$get_cnt = $count;
}
this do nothing when I call http://192.168.1.250/cgi-bin/archiv.php?pocet=5 "pocet" is not set
.
Output of
var_dump($GET); -> "array(0) { }"
echo $SERVER['argv']; -> "Array"
echo $_SERVER['QUERY_STRING']; -> "pocet=5"
But no $GET or $POST (when post method used) varialble is set
What I do wrong, I tried everithing, may be mistake in boa web server??
thank