note 14730 added to function.long2ip.php

From: Date: Sun, 12 Aug 2001 15:25:44 +0000
Subject: note 14730 added to function.long2ip.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16600@lists.php.net to get a copy of this message
Just tried the code from Joerg Krause's comment. As for PHP 4.0.6 it doesn't work correctly. Looks like ip2long doesn't accept unsigned ints. Output: -1062706151 ==> 192.168.100.25 3232261145 ==> 128.0.0.0 http://www.php.net/manual/en/function.long2ip.php

« previous php.notes (#16600) next »