PHP Classes

PHP Visitor IP Address: Get the IP address of visitor even behind a proxy

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 482 All time: 5,937 This week: 78Up
Version License PHP version Categories
visitor-ip 1The PHP License5.0Networking, HTTP, PHP 5
Description 

Author

This class can get the IP address of visitor even behind a proxy.

It can check the current HTTP request headers to extract the IP address of the current visitor.

The class can check the right headers when the user is behind a proxy.

It can also take an array of previous visitors eventually retrieved from a database to determine if a visitor already accessed previously from the same IP address.

Picture of Amer Hendy
  Performance   Level  
Name: Amer Hendy <contact>
Classes: 4 packages by
Country: Egypt Egypt
Age: 36
All time rank: 212020 in Egypt Egypt
Week rank: 206 Up3 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (1)  
File Role Description
Accessible without login Plain text file counter.php Class the class file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:482
This week:0
All time:5,937
This week:78Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2879