sundry

PHP prohibits Chinese IP

PHP prohibits domestic IP access to websites, and breaks through the CDN to obtain the real IP of clients
Sometimes the website can't be seen by domestic users because of its content. You need to hang the proxy to see it. You can use the following code. If your website uses a cdn, the ip of the user client is the ip of the cdn
, but the following code can break through the CDN to obtain the real IP address of the client

fabulous ( zero )

This article is written by Ji Changxin Author, article address: https://blog.isoyu.com/archives/php-bans-chinese-ip.html
use Knowledge Sharing Attribution 4.0 International License Agreement. Unless the reprint/source is indicated, they are all original or translated by this website. Please sign your name before reprinting. Last editing time: September 24, 2017 at 12:43 PM

Popular articles

Post reply

[Required]

I am a human?

Please wait three seconds after submission to avoid unsubmission and repetition