Php 为什么file_get_contents()返回“;无法打开流:HTTP请求失败”;?HTTP/1.0 429未知
我的文件内容有问题。我需要从此url获取内容: 当我用我的浏览器打开它时效果很好,我的php脚本:Php 为什么file_get_contents()返回“;无法打开流:HTTP请求失败”;?HTTP/1.0 429未知,php,json,file-get-contents,http-status-code-429,Php,Json,File Get Contents,Http Status Code 429,我的文件内容有问题。我需要从此url获取内容: 当我用我的浏览器打开它时效果很好,我的php脚本: $item=“P250 |价(现场测试)”; $link='1http://steamcommunity.com/market/priceoverview/?currency=1&appid=730&market_hash_name='.urlencode($项目); 回显文件获取内容($link) 向我抛出此错误: 警告:文件获取内容(http://steamcommunity.com/mark
$item=“P250 |价(现场测试)”;
$link='1http://steamcommunity.com/market/priceoverview/?currency=1&appid=730&market_hash_name='.urlencode($项目);
回显文件获取内容($link)代码>
向我抛出此错误:
警告:文件获取内容(http://steamcommunity.com/market/priceoverview/?currency=1&appid=730&market_hash_name=P250+%7C+价+%28字段已测试%29):无法打开流:HTTP请求失败!HTTP/1.0 429未知
根据错误消息,您正在从Steam的服务器接收一个429
HTTP错误:
429 Too Many Requests (RFC 6585)
The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes.
根据错误消息,您从Steam的服务器接收到429
HTTP错误:
429 Too Many Requests (RFC 6585)
The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes.