Getting The Real IP Of Your Users

$ip = $req->header’Client-IP’ || $req->header’Remote-Addr’;

if $req->header’X-Forwarded-For’ {

$proxy = $ip;

$ip = $req->header’X-Forwarded-For’;

}

via Getting The Real IP Of Your Users.

Bad Behavior has blocked 744 access attempts in the last 7 days.