you could try
foreach($HTTP_GET_VARS as $key => $val) {
${$key}=$val;
print_r($HTTP_GET_VARS);
echo"<br>";
}
now i dunno if this will work...this is just a little help i nthe right direction i hope! If you can find a way to get the # of http_get_vars then you would be golden and you should be able to figure it out from there...