Login   Register  
PHP Classes
elePHPant
Icontem

IP Net Calculator: Compute the common mask from multiple IP addresses

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-08-20 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 433 All time: 5,639 This week: 1,372Up
Version License PHP version Categories  
ip-net-calc 1.0BSD License5.2.6Networking, PHP 5
Description Author  
PHP Programming Innovation award nominee
September 2010
Number 10


Prize: One year server license IP to country region city database
This class can be used to compute the common mask from multiple IP addresses.

It takes two or more IP addresses and determines the bits with the common values in order to determine what should be the applicable network address mask.

The class supports network addresses either in the IP version 4 and version 6 formats.
Picture of Alexander Over
Name: Alexander Over <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 33
All time rank: 144197 in Germany Germany
Week rank: 1811 Down95 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file ipnetcalc.class.php Class Main class
Plain text file example.php Example Examples

Innovation Award  
PHP Programming Innovation award nominee
September 2010
Number 10


Prize: One year server license IP to country region city database
IP address masks are used to help determining the route packets should take to go from one IP address to another.

This class can be used to compute an IP address mask of addresses in the same network by checking determining which bits have the same values.

Manuel Lemos
 Version Control Unique User Downloads Download Rankings  
 0%Total:433All time:5,639
 This week:0This week:1,372Up
 User Comments (1)  
 
No congrats for this useful class.
3 years ago (Tom Schaefer)
70%StarStarStarStar