PHP Classes
elePHPant
Icontem

Get First WAN IP: Get the real IP address of a user accessing a site

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-07-17 (10 days ago) RSS 2.0 feedNot enough user ratingsTotal: 249 This week: 44All time: 7,528 This week: 11Up
Version License PHP version Categories
get-first-wan-ip 1.0.0GNU General Publi...5.4Networking, PHP 5, Traits
Description Author

This package can get the real IP address of a user accessing a site.

It provides a trait with a function that checks several HTTP request variables to get the IP address of a user computer that may be behind a proxy.

The function discards IP addresses that may be local to remote user or could be forged.

  Performance   Level  
Name: doekia <contact>
Classes: 1 package by
Country: France France
Age: 67
All time rank: 375996 in France France
Week rank: 17 Up3 in France France Up

  Files folder image Files  
File Role Description
Plain text file get_first_wan_ip.php Class get_first_wan_ip

 Version Control Unique User Downloads Download Rankings  
 0%
Total:249
This week:44
All time:7,528
This week:11Up