Ok, I made this just so I would know EXACTLY how it was done... and so I could make sure to use it perfectly correct...
$query = $QUERY_STRING;
$query_Array = explode("&", $query);
foreach ($query_Array as $i) {
$doubleItem = explode("=", $i);
$$doubleItem[0] = str_replace("%20", " ", $doubleItem[1]);
}
Might look a bit confusing but its not, trust me. 🙂
Anyways, put this at the top of the script and it will return the variable with the value...
so like you said... if you had...
systems_by_subnet.php?net=1722810
this would return.. the variable "$net" with the value of 1722810
See? Not bad (put this in the page that is going to use those addresses...)