Improved register_globals

pull/1/head
root 16 years ago
parent c0d2e621d1
commit 848b0d3942

@ -69,7 +69,7 @@
}
echo "</ul>\n</li>\n</ul>\n</li>\n</ul></div>\n<br>\n";
} elseif(intval($_REQUEST['locid']) <= 0) {
} elseif(intval(array_key_exists('locid',$_REQUEST)?$_REQUEST['locid']:0) <= 0) {
echo "<ul>\n";
if($town != "")
{
@ -88,6 +88,7 @@
}
echo "</ul>\n</li>\n</ul>\n</li>\n</ul></div>\n<br>\n";
$st="";$prev="";$end="";$next="";
$rc = mysql_num_rows(mysql_query("select * from `locations` where `regid`='$regid'"));
if($start > 0)
{

Loading…
Cancel
Save