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 as an unsigned integer,
the second as a signed integer.
Chris
--
PHP Windows 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]