<html>
<body>
Any body got any cool code to check if an IP is within a particular
range?<br>
I can check the four individual elements of the code with a series of if
statements but there must be a more graceful way to do it.<br><br>
if 196.2.49.19 is in the range 196.2.1.1 to 196.3.29.76 do
something.<br><br>
<x-sigsep><p></x-sigsep>
<tt><font face="Courier New, Courier" size=2>Spike Hodge<br><br>
</font></tt><font face="Courier New, Courier">UNIX Programmer<br>
M-Web Technology<br>
021 596 8496<br>
083 294 9593<br>
Fax 0866721733<br><br>
<br>
</font>Click here and make M-Web your homepage<br>
<a href="http://homepage.mweb.co.za/" eudora="autourl">http://homepage.mweb.co.za</a>
</body>
</html>