Re: [PHP-WIN] error in ip2long

2001-05-16 Thread Chris Adams
On 16 May 2001 19:56:52 -0700, Ruslan Ohitin <[EMAIL PROTECTED]> wrote: > hello all! > > I try to convert ip address (aaa.bbb.ccc.ddd) > to IPv4 integer using ip2long(). > > ip2long("200.200.200.12") = 3368601612 > but it must be -926365684. That's the same value - the first time is treating it

[PHP-WIN] error in ip2long

2001-05-16 Thread Ruslan Ohitin
hello all! I try to convert ip address (aaa.bbb.ccc.ddd) to IPv4 integer using ip2long(). ip2long("200.200.200.12") = 3368601612 but it must be -926365684. Is it a bug? I use php 4.0.6-dev from php4win.de --- ruslan [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To un