IP Tester

The website uses a function called ip2long (v6 version) to convert the users' ip addresses to long integers before storing them in the database.
In this instance what is stored is the starting ip (as a long) and the ending ip (again as a long). Then it can run a query to find out if an
incoming connection has an ip that is between the starting and ending values of any user in the system. This page tests whether an ip
is within a specified range.

Target ip range not specified. Using defaults.
Target values:
Start: 50552022208309849382797899729431691264
End: 50552022208309849382797899729431691264

~~~~~~~~~~
Printing IPs in 2607:f720:0:0:0:0:0:0 - 2607:f720:0:0:0:0:0:10
Convert to long 2158922276
50552022208309849382797899729431691264
2158922276
50552022208309849382797899729431691264
128.174.138.36 is NOT between the target values.

Usage

Url parameters:
range: Target IP range in the form of two full ips separated by dash
ip, ip2, ip3: As many as three ips can be entered for testing.
Sample url:
http://ethnologue.a2hosted.com/ipv6/index.php?ip=128.174.138.33&ip2=128.174.138.38&ip3=128.173.138.36&range=128.174.0.0-128.174.255.255