php_file_contents模拟浏览器乱码

user_agent是用户代理;

ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; 4399Box.560; .NET4.0C; .NET4.0E)');

你可能感兴趣的:(乱码)