note 47801 added to function.ip2long
| From: | james at wilf dot me dot uk | Date: | Tue, 30 Nov 2004 21:52:45 +0000 |
| Subject: | note 47801 added to function.ip2long | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81199@lists.php.net to get a copy of this message | ||
In case anyone else here has a PostgreSQL database storing IP networks using the CIDR datatype, and
needs a way to find the "gaps" in their IP ranges, here is a script I wrote to do it (and
its XML-RPC enabled!):
http://www.wilf.me.uk/code/ipserver/networks.inc.phps
Full explanation and further info here:
http://www.wilf.me.uk/article.php?story=20041127133315536
----
Manual Page -- http://www.php.net/manual/en/function.ip2long.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47801
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47801&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47801&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47801&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47801&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47801&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47801&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47801&report=yes
Search -- http://master.php.net/manage/user-notes.php