I decided to do something about the problem with $GET myself, and I came up with function getrep(get replacement), which extracts information from $SERVER['QUERY_STRING'](which works for me for some reason, even though $_GET is malfunctioning). Here it is:
<?php
function getrep($namez)
{
$org = " " . $_SERVER['QUERY_STRING'];
$aa = strpos($org,$namez);
if ($aa != 1)
{
$aa = strpos($org,"&" . $namez);
$aa = $aa + 1;
}
if ($aa == FALSE)
{
return "ERROR IN FUNCTION GETREP";
}
$bb = strpos($org,"&",$aa);
$aa = $aa + strlen($namez) + 1;
if ($bb != FALSE)
{
$cc = $bb - $aa;
$res = substr($org,$aa,$cc);
return $res;
}
else
{
$res = substr($org,$aa);
return $res;
}
}
?>
The syntax(as you can see) is getrep("nameofthegetinfoyouwant"). That solves my problems with $GET, but what about $POST? It won't work for me either, and $POST isn't part of $SERVER['QUERY_STRING'].
HELP!!!