Storeip 1.0

Storeip class allows you 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).

Storeip has two functions:
- decode ip->number
- 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

License type: GPL - GNU Public License
Date added: 10 years, 6 months 1 day ago | Last updated: 10 years, 6 months 1 day ago

More popular Networking Tool

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

Hot Scripts