Posted by Marek Simon on 01/31/06 11:08
> Have you considered using the php/nmysql build-in functions (available
> as of PHP 5.0):
>
> PHP:
> inet_ntop() http://nl2.php.net/manual/en/function.inet-ntop.php
> inet_pton() http://nl2.php.net/manual/en/function.inet-pton.php
>
> MySQL:
> INET_ATON() and INET_NTOA()
> http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html
>
> Jonathan
I do not have PHP 5.0 (only 4.3) but I will try that mysql functions. I
did those function on my own few days ago, a bunch of text parsing and
binary shifting, not usable for writing it into each query.
Marek
[Back to original message]
|