php经过使用curl获取http或者https的响应信息的方式

获取远程连接的http地址的状态信息 方法:经过php自带的curl函数php 如下为代码片断web function getHttpAndHttpsInfo($url){ $this_get = curl_init($url); curl_setopt($this_get, CURLOPT_SSL_VERIFYPEER, FALSE);//不设置ssl证书 curl_setopt($thi
相关文章
相关标签/搜索