PHP Classes

Classes of Robert Mahan

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Robert Mahan (1)  >  Mission progress status  >  Reputation  
Picture of Robert Mahan
Name: Robert Mahan <contact>
Classes: 1
Country: United States United States
Age: 77
All time rank: 2454336 in United States United States
Week rank: 185 Up24 in United States United States Up
All time users: 931
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Block IP Range  
Check if IP is in a blacklist or a whitelist
This class can check if IP is in a blacklist or a whitelist.

It takes a given IP address and checks if it is not supposed to be block by checking if it is either in a whitelist or it is not in a blacklist.

Both lists are read from distinct text files with the same format to describe the IP addresses to match.

They can specify individual IP addresses or ranges using wildcard patterns or the addresses that start and end of the ranges.

The class can also provide a text message or an integer status value that explain why the given IP address passed or not the checks.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z