To Store ip-addresses in a database, you will
need a field type of Char(15).
This class let's you store the ipnumbers as
an integer ( between -2139062144 and 2139062143)
This class has two functions
1) decode ip->number
2) encode number->ip
Both functions return false for empty or wrong ip-numbers
While using this class you will spare typical 11 bytes
for every ipnumber you store.
Char(15) needs 15 Bytes
SIGNED INT(10) needs 4 Bytes
|
|
| Name: |
Storeip |
| Base name: |
storeip |
| Description: |
Store ip-addresses in a database |
| Version: |
- |
| PHP version: |
- |
| License: |
GNU General Public License (GPL) |
| All time users: |
1463 users |
| All time rank: |
2350 |
| Week users: |
0 users |
| Week rank: |
2103  |
| |
|
| Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|