Re: IP address enconding
| From: | Jason Brooke | Date: | Thu, 19 Apr 2001 10:41:34 +0000 |
| Subject: | Re: IP address enconding | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49350@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.ip2long.php
> No! I can encode IP address to an Integer:
> 192.168.0.1 consider as: a.b.c.d
> and now the formula goes:
> a shl 24 + b shl 16 + c shl 8 + d
>
> but i was looking for something ready made....
>
> -elias
> http://www.kameelah.org/eassoft