parsing question ('010.000.080.001' == `10.0.80.1`) how to be 'true'?

From: Date: Thu, 08 Apr 2004 19:43:17 +0000
Subject: parsing question ('010.000.080.001' == `10.0.80.1`) how to be 'true'?
Groups: php.general 
Request: Send a blank email to php-general+get-182889@lists.php.net to get a copy of this message
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. Please help me!... or there can be enother way to compare the data .. don't know... some function wich can translate both formats into binary format .. so any ideas very nessary :-)

« previous php.general (#182889) next »