web - Get Real IP address using PHP website and block VPN IP ADDRESS -
i create website using php. , want block vpn ip address or hide ip program. in login. see ebay.com website can block vpn ip address or hide ip program.
how write script php block vpn ip address or hide ip program.
it's simple implement:
if (in_array($_server['remote_addr'], $blocked_ips)) die("go away!");
... requires list of ips you'd block. ip hiding works using proxy. there no way detect if user hiding ip besides checking if traffic coming known ip hiding service's ip. might find such list, don't know, that's way go this.
Comments
Post a Comment