企业🤖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/`检测结果