error in ip2long
| From: | Ruslan Ohitin | Date: | Thu, 17 May 2001 04:00:31 +0000 |
| Subject: | error in ip2long | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7655@lists.php.net to get a copy of this message | ||
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
rus@bagan.ru