From: [EMAIL PROTECTED] Operating system: SuSe 6.4/7.1 PHP version: 4.0.4pl1 PHP Bug Type: Network related Bug description: ip2long and long2ip put back wrong answer The script <?php $ip = gethostbyname("www.php.net"); $out = http://".ip2long($ip)."/<br>\n"; echo $out; ?> and the answer is: http://-789091653/ what is wrong, because the correct answer is: http://3505875643/ -- Edit Bug report at: http://bugs.php.net/?id=9698&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]