PHP How to Block Proxies from my Site?

后端 未结 7 1589
迷失自我
迷失自我 2021-01-03 11:39

I\'m looking for the absolute best way of blocking proxies coming onto my site. The reason is due to me using unique IP address\'s on my project.

What would you reco

7条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-03 12:26

    You should not be relying on unique IP addresses. Many people are behind a firewall at work or school, so one ip does not mean 1 machine or user.

    If you want to identify your users, set a cookie, or use a session.

提交回复
热议问题