Re: mysql function inet_aton/inet_ntoa

2004-06-26 Thread Michael Stassen
Ron McKeever wrote: I am storing ips in a mysql 4.0.17 db as int. I am Converting them using a perl script with inet_aton to create a four-byte string. My goal: Is to return the ip as a normal dotted ip for the user to see after a select statement is done via a php web page. The ip is entered in as

mysql function inet_aton/inet_ntoa

2004-06-26 Thread Ron McKeever
I am storing ips in a mysql 4.0.17 db as int. I am Converting them using a perl script with inet_aton to create a four-byte string. My goal: Is to return the ip as a normal dotted ip for the user to see after a select statement is done via a php web page. The ip is entered in as a dotted ip on the