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 
$ip = gethostbyname("");
$out = http://".ip2long($ip)."/<br>\n";
echo $out;

and the answer is:


what is wrong, because the correct answer is:

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to