* Thus wrote Galkov Vladimir ([EMAIL PROTECTED]): > Two tables have diferent standarts to hold IP adresses: > > first: > 045.012.001.002 > 003.000.123.231 > 123.230.101.080 > > second: > 45.12.1.2 > 3.0.123.231 > 123.230.101.80 > > I have to compare the data and stack there .. my fantasy can't help me write > regular expresion to parse first format into second or second into first.
http://php.net/ip2long may help Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php