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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -