ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
Curl请求,获取HTTP 请求服务器响应码 ~~~ $ch = curl_init('http://www.jb51.net'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_exec($ch); echo curl_getinfo($ch, CURLINFO_HTTP_CODE); // 200 curl_close($ch); ~~~ ~~~ 服务器IP 121.199.26.199 返回状态码 200 网页返回HEAD信息 Content-Type: text/html Last-Modified: Mon, 01 Jan 2018 09:18:04 GMT Accept-Ranges: bytes ETag: "669bcb6de182d31:0" Server: Microsoft-IIS/8.0 X-Powered-By: ASP.NET Date: Tue, 02 Jan 2018 04:06:41 GMT Content-Length: 28806 ~~~ * * * * * http://tool.chinaz.com/pagestatus/ 页面`https://www.guangshu.top/DragonApp/`检测结果