Re: IP address enconding
| From: | elias | Date: | Thu, 19 Apr 2001 21:01:23 +0000 |
| Subject: | Re: IP address enconding | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49351@lists.php.net to get a copy of this message | ||
thanks for the hint!
""Jason Brooke"" <jason@qgl.org> wrote in message
news:02a801c0c8bd$6f5528c0$0100a8c0@rochd1.qld.optushome.com.au...
>
> 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
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>