New query for ipRoughLocate

Support on setups where you copy the hostip.info database locally.

Moderator: Moderators

New query for ipRoughLocate

Postby ccon on Mon Oct 02, 2006 11:20 am

What do you think to use this query in "ipRoughLocate" :
Code: Select all
      $sql = "SELECT * FROM ip4_$a
    WHERE b=$b
   AND c >= $lo
   AND c <hi>= $lo
   AND c <hi>= $lo
   AND c <= $hi
   AND city != 0
   AND country = ".$info['country']."
   ORDER BY abs(c - $c)";


What do you think about ?
Am I right ?

Chris
ccon
n00b
 
Posts: 1
Joined: Mon Oct 02, 2006 11:13 am

Return to Hostip.info database local copy support

Who is online

Users browsing this forum: No registered users and 0 guests

cron