php监控网站访问状态
近期需要开发一套站点服务器监控系统,现在网上收集下相关资料,为后期开发做好提前准备相关函数代码function httpcode($url){ $ch = curl_init(); $timeout = 3; curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); &...
近期需要开发一套站点服务器监控系统,现在网上收集下相关资料,为后期开发做好提前准备相关函数代码function httpcode($url){ $ch = curl_init(); $timeout = 3; curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); &...