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.
When I access the website, I get an error, Internal Server Error
Do I need to log in? Then bring cookies and use curl
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
Dear, I tested it myself, there is also a problem when accessing it through a browser
Browser access error: Internal Server Error
Browser opening is 500
Browser opened: Internal Server Error, time: 2017-4-11 9:21