Login   Register  
PHP Classes
elePHPant
Icontem

XIP Class: Analyze remote IP, Proxy detection,Blacklist check

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 (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-08-21 (8 years ago) RSS 2.0 feedStarStarStarStar 74%Total: 4,237 This week: 2All time: 640 This week: 975Down
Version License Categories  
xipclass 1.0.0GNU General Public Lice...Networking, HTTP
Description Author  

This class can be used to analyze the remote user IP address accessing the current page, Proxy detection, Blacklist check.


- Smart "Proxy" and "Client IP" detection using header analysis
- Detects Proxy by looking for more than 40 standard and non-standard headers and hostname
- Retrieves the real Client IP address !!!
- IP BLACKLIST, WHITELIST check !!!
- IP[/Mask] format (IP range) compatible
- IP validate
- IP public/private check
- Expandable proxy detection structure by using arrays and regular expressions
- Guess for unknown headers using regular expressions

Picture of Volkan Küçükçakar
Name: Volkan Küçükçakar <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 34
All time rank: 5258 in Turkey Turkey
Week rank: 840 Down17 in Turkey Turkey Down

  Files folder image Files  
File Role Description
Files folder imageExamples (7 files, 1 directory)
Plain text file class.XIP.php Class XIP Class
Accessible without login Plain text file Readme.txt Doc. Readme
Accessible without login Plain text file License.txt Lic. License

  Files folder image Files  /  Examples  
File Role Description
Files folder imagelog (2 files)
  Accessible without login Plain text file proxydetect.php Example Example 1 - Proxy type, proxy info, client IP detection
  Accessible without login Plain text file ipfunctions.php Example Example 2 - IP Functions, IP validate, public/private IP check, network check, local blacklist
  Accessible without login Plain text file blacklist_local.php Example Example 3 - Another local blacklist example using an external flat text file
  Accessible without login Plain text file iplog.php Example Example 4 - IP Log example using a flat text file (with exclusive file lock support via flock and semaphore files)
  Accessible without login Plain text file CheckRBL.php Example Example 5 - Checking the existance of visitor's IP in RBL (Real-Time Blackhole List) using 3rd party services
  Accessible without login Plain text file index.php Example File simply calls Example 1
  Accessible without login Plain text file blacklist.txt Data File needed by blacklist_local.php

  Files folder image Files  /  Examples  /  log  
File Role Description
  Accessible without login Plain text file iplog.txt Output File needed by iplog.php
  Accessible without login Plain text file iplog.txt.lck Data File needed by iplog.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,237All time:640
 This week:2This week:975Down
User Ratings User Comments (1)  
 All time
Utility:97%StarStarStarStarStar
Consistency:86%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:88%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:82