当我的国家/地区阻止此网站时,如何使用file_get_contents
获取网站数据?
我使用此代码从网站获取数据
$url_xxx = "https://www.example.com";
$text_all = file_get_contents($url_xxx);
$text_all = strip_tags($text_all); // If you only need text not html structure
echo $text_all;
但是我的国家被封锁https://www.example.com
我想知道当我的国家/地区封锁此网站时如何使用file_get_contents
获取网站数据?