Guest User

Untitled

a guest
Jul 22nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. if ( substr($ip,0,3) == '10.' )
  2. {
  3. $xff = explode(', ', $_SERVER['HTTP_X_FORWARDED_FOR']);
  4. $ip = $xff[ count($xff)-1 ];
  5. }
Add Comment
Please, Sign In to add comment