Hi,
I'm just working on an IP matching system for our site. We have a "dump" of the IP ranges, and need to use something like;
SELECT * FROM ip2location WHERE IP_NUMBER BETWEEN StartRange AND EndRange
..where IP_NUMBER is the binary value, i.e 3401190660.
Been having a play at trying to get this to work with GT::SQL, but havn't had any success so far.
Anyone got any ideas?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
I'm just working on an IP matching system for our site. We have a "dump" of the IP ranges, and need to use something like;
SELECT * FROM ip2location WHERE IP_NUMBER BETWEEN StartRange AND EndRange
..where IP_NUMBER is the binary value, i.e 3401190660.
Been having a play at trying to get this to work with GT::SQL, but havn't had any success so far.
Anyone got any ideas?

TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!