Code:
$content = file_get_contents("http://www.zoology.csdb.cn/csdb/getInfo.asp?_=1491810154308&id=B684780B-92C7-40D8-8CE1-16064082031C");
Error report:
( ! ) Warning: file_get_contents(http://www.zoology.csdb.cn/cs... failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
But the website:
http://www.zoology.csdb.cn/cs...
There is no problem in accessing it with a browser.
天蓬老师2017-05-16 13:18:44
When I access the website, I get an error, Internal Server Error
Do I need to log in? Then bring cookies and use curl
大家讲道理2017-05-16 13:18:44
The browser access for this link is still 500. The website is OK. You need to confirm whether the link is correct or whether the website requires logging in to obtain it
phpcn_u15822017-05-16 13:18:44
Dear, I tested it myself, there is also a problem when accessing it through a browser