Jay Paulson (CE CEN) wrote:
I'm in the process of parsing through a apache access_log file and putting the
information into a database. Right now I have the ip addresses going into a
database as a character format xxx.xxx.xxx.xxx and then later I'm creating my
queries to search for ip
I believe this may help:
http://uk2.php.net/manual/en/function.ip2long.php
It converts the IP address to the 'long' format (which is valid to put into a
browser as an address btw). I think 127.0.0.1 and 127.0.0.2 will be sequential
in the 'long' format. So if you convert starting address and
2 matches
Mail list logo