商城首页欢迎来到中国正版软件门户

您的位置:首页 >PHP网站监控实现与告警设置教程

PHP网站监控实现与告警设置教程

  发布于2025-12-10 阅读(0)

扫一扫,手机访问

首先通过PHP实现网站监控,利用cURL检测HTTP状态码、file_get_contents验证页面内容,并结合邮件告警与crontab定时任务实现自动化监测,最后通过日志记录与去重机制优化告警策略,确保及时发现并响应网站异常。

如何用PHP代码实现网站监控功能_PHP网站监控功能实现与告警配置教程

如果您发现网站响应缓慢或服务中断,但缺乏实时通知机制,可能会导致问题长时间未被察觉。通过PHP代码实现网站监控功能,可以帮助您定期检测站点状态并及时发送告警。以下是具体的实现方式和配置步骤。

本文运行环境:Dell XPS 13,Ubuntu 24.04

一、使用cURL检测HTTP状态码

通过PHP的cURL扩展可以模拟HTTP请求,获取目标网站的响应状态码,判断其是否正常运行。此方法适用于检测网页是否可访问及服务器返回的状态。

1、初始化cURL会话,设置要检测的URL地址。

2、配置cURL选项,包括超时时间、禁止重定向和返回原始响应头信息。

3、执行请求并捕获返回的状态码,若状态码不为200,则视为异常。

4、记录检测结果到日志文件中,便于后续分析。

5、在代码中加入错误处理机制,防止因网络问题导致脚本中断。

二、利用file_get_contents检查页面内容

某些情况下,虽然HTTP状态码为200,但页面内容可能已被篡改或显示错误信息。通过检查页面特定关键词,可进一步确认网站内容完整性。

1、使用file_get_contents函数读取目标网页内容。

2、定义期望存在的关键字符串,例如“欢迎访问”或标签中的标题。</p><p>3、使用strpos函数判断该字符串是否存在于返回内容中。</p><p>4、如果未找到指定内容,则触发告警逻辑。</p><p>5、为避免超时影响性能,需设置stream_context_set_params限定连接和读取时间。</p><h2>三、集成邮件告警功能</h2><p>当检测到网站异常时,自动发送邮件通知管理员是保障快速响应的关键措施。PHP内置mail函数或第三方库均可实现此功能。</p><p>1、配置SMTP参数或使用支持SMTP认证的PHPMailer类库。</p><p>2、编写邮件发送函数,包含收件人、主题、正文和发送时间等信息。</p><p>3、在检测脚本中调用该函数,仅在状态异常时发送告警邮件。</p><p>4、邮件正文中应包含<strong><font color="green">异常时间、目标网址、实际状态码</font></strong>等关键信息。</p><p>5、测试邮件发送流程,确保<a href="https://www.fastadmin.net/go/aliyun" target="_blank">服务器</a>已正确配置sendmail或SMTP服务。</p><h2>四、结合定时任务实现周期性监控</h2><p>手动执行监控脚本效率低下,借助Linux系统的crontab可实现自动化轮询,提升监控连续性。</p><p>1、将PHP监控脚本保存为独立文件,如monitor.php,并赋予可执行权限。</p><p>2、使用crontab -e命令编辑计划任务列表。</p><p>3、添加一行规则,例如* * * * * /usr/bin/php /var/www/monitor.php,表示每分钟执行一次。</p><p>4、确认PHP CLI环境已安装所需扩展(如curl、openssl)。</p><p>5、查看系统日志/var/log/cron,验证任务是否按预期运行。</p><h2>五、记录日志并设置去重机制</h2><p>频繁告警可能导致信息过载,合理的日志管理和告警抑制策略有助于提高运维效率。</p><p>1、创建专用日志目录,用于存储每次检测的时间戳、状态码和响应时间。</p><p>2、在发送告警前检查最近一次告警时间,若间隔小于设定阈值则跳过发送。</p><p>3、使用文件锁机制防止多个cron进程同时写入造成冲突。</p><p>4、定期归档旧日志文件,避免磁盘空间耗尽。</p><p>5、在日志条目中明确标注<strong><font color="green">首次异常发生时间与持续时长</font></strong>,辅助故障排查。</p> </div> <div class="laiyuan"> 本文转载于:互联网 如有侵犯,请联系zhengruancom@outlook.com删除。<br/>免责声明:正软商城发布此文仅为传递信息,不代表正软商城认同其观点或证实其描述。 </div> <div class="zrSypBox"> <p>上一篇:<a href="https://www.zhengruan.com/news/537185" title="Edge浏览器下载慢怎么提速" class="aRed">Edge浏览器下载慢怎么提速</a></p> <p class="right">下一篇:<a href="https://www.zhengruan.com/news/537187" title="洛克王国世界酷拉果实怎么获取-酷拉果实获取攻略" class="aRed">洛克王国世界酷拉果实怎么获取-酷拉果实获取攻略</a></p> <div class="clear"></div> </div> <div class="zrDtxwBox"> <div class="zrByddTitle"> <span><h2>产品推荐</h2></span> </div> <ul class="zrTxdmList3"> <li class="one"> <div class="zrTxdmCont5"> <div class="zrTxdmImg4 dianji"> <a href="https://www.zhengruan.com/product/69" class="img"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/cd14258f0172a172f8a80798c38c1577.jpg" alt="DAEMON Tools Lite 10"></a> <span class="xianshi"> <p>售后无忧</p> <em><a href="https://www.zhengruan.com/product/69" title="立即购买>">立即购买></a></em> </span> </div> <div class="zrTxdmIn4"> <dl> <dt><a href="https://www.zhengruan.com/product/69" title="DAEMON Tools Lite 10【序列号终身授权 + 中文版 + Win】" class="aBlack">DAEMON Tools Lite 10【序列号终身授权 + 中文版 + Win】</a></dt> <dd> <span>¥150.00</span> <p>office旗舰店</p> </dd> </dl> </div> </div> </li> <li > <div class="zrTxdmCont5"> <div class="zrTxdmImg4 dianji"> <a href="https://www.zhengruan.com/product/67" class="img"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/fbf473d4d30833324962e441c0f18265.jpg" alt="DAEMON Tools Ultra 5"></a> <span class="xianshi"> <p>售后无忧</p> <em><a href="https://www.zhengruan.com/product/67" title="立即购买>">立即购买></a></em> </span> </div> <div class="zrTxdmIn4"> <dl> <dt><a href="https://www.zhengruan.com/product/67" title="DAEMON Tools Ultra 5【序列号终身授权 + 中文版 + Win】" class="aBlack">DAEMON Tools Ultra 5【序列号终身授权 + 中文版 + Win】</a></dt> <dd> <span>¥198.00</span> <p>office旗舰店</p> </dd> </dl> </div> </div> </li> <li > <div class="zrTxdmCont5"> <div class="zrTxdmImg4 dianji"> <a href="https://www.zhengruan.com/product/68" class="img"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/1ae250399abf4ff584d86d52c79b5bb6.jpg" alt="DAEMON Tools Pro 8"></a> <span class="xianshi"> <p>售后无忧</p> <em><a href="https://www.zhengruan.com/product/68" title="立即购买>">立即购买></a></em> </span> </div> <div class="zrTxdmIn4"> <dl> <dt><a href="https://www.zhengruan.com/product/68" title="DAEMON Tools Pro 8【序列号终身授权 + 中文版 + Win】" class="aBlack">DAEMON Tools Pro 8【序列号终身授权 + 中文版 + Win】</a></dt> <dd> <span>¥189.00</span> <p>office旗舰店</p> </dd> </dl> </div> </div> </li> <li > <div class="zrTxdmCont5"> <div class="zrTxdmImg4 dianji"> <a href="https://www.zhengruan.com/product/29" class="img"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/77d3c04866e1b842d9b6ff0e9368bdf8.jpg" alt="CorelDRAW X8 简体中文"></a> <span class="xianshi"> <p>售后无忧</p> <em><a href="https://www.zhengruan.com/product/29" title="立即购买>">立即购买></a></em> </span> </div> <div class="zrTxdmIn4"> <dl> <dt><a href="https://www.zhengruan.com/product/29" title="CorelDRAW X8 简体中文【标准版 + Win】" class="aBlack">CorelDRAW X8 简体中文【标准版 + Win】</a></dt> <dd> <span>¥1788.00</span> <p>office旗舰店</p> </dd> </dl> </div> </div> </li> <div class="clear"></div> </ul> </div> </div> <ul class="zrZbrjList" style="padding-top:10px;"> <li> <a href="https://www.zhengruan.com/news/621567" class="img1" title="Golang解压zip文件到指定目录方法"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20260414/177612912580554.jpeg" alt="Golang解压zip文件到指定目录方法"> <span>正版软件</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/621567" title="Golang解压zip文件到指定目录方法" class="aBlack">Golang解压zip文件到指定目录方法</a></dt> <dd class="cont1">使用archive/zip解压zip文件前必须检查io.ErrUnexpectedEOF,严格过滤路径遍历(如../),手动处理GBK中文文件名编码,并区分处理symlink等特殊文件类型,否则易致安全漏洞或静默失败。</dd> <dd class="cont2"> <!--<span class="cont1"><img src="zrimages/example/img10.png"/>山外的鸭子哥</span>--> <span class="cont2"><b></b>21分钟前</span> <span class="cont4"><b></b>0</span> </dd> </dl> </li> <li> <a href="https://www.zhengruan.com/news/621557" class="img1" title="Python模块变量作用域与exec用法解析"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20260414/177612841396711.jpg" alt="Python模块变量作用域与exec用法解析"> <span>正版软件</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/621557" title="Python模块变量作用域与exec用法解析" class="aBlack">Python模块变量作用域与exec用法解析</a></dt> <dd class="cont1">在Python中,一个模块无法直接访问另一个模块中导入的变量(如turtle),因为每个模块拥有独立的作用域;若需共享,应显式导入或通过参数传递,而非依赖“父模块已导入”的假设。</dd> <dd class="cont2"> <!--<span class="cont1"><img src="zrimages/example/img10.png"/>山外的鸭子哥</span>--> <span class="cont2"><b></b>36分钟前</span> <span class="cont4"><b></b>0</span> </dd> </dl> </li> <li> <a href="https://www.zhengruan.com/news/621544" class="img1" title="Excel数据批量导入Word表格教程"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20260414/177612733191365.jpg" alt="Excel数据批量导入Word表格教程"> <span>正版软件</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/621544" title="Excel数据批量导入Word表格教程" class="aBlack">Excel数据批量导入Word表格教程</a></dt> <dd class="cont1">本文介绍使用Python将Excel数据自动写入Word表格的完整实现方法,重点解决初学者常见的类型错误和循环逻辑问题,并提供可直接运行的代码示例。</dd> <dd class="cont2"> <!--<span class="cont1"><img src="zrimages/example/img10.png"/>山外的鸭子哥</span>--> <span class="cont2"><b></b>52分钟前</span> <span class="cont4"><b></b>0</span> </dd> </dl> </li> <li> <a href="https://www.zhengruan.com/news/621530" class="img1" title="Go 中动态键名嵌套 JSON 解析方法"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20260414/177612643398364.jpg" alt="Go 中动态键名嵌套 JSON 解析方法"> <span>正版软件</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/621530" title="Go 中动态键名嵌套 JSON 解析方法" class="aBlack">Go 中动态键名嵌套 JSON 解析方法</a></dt> <dd class="cont1">本文详解如何在Go中安全、高效地解析含未知键名(如"additional-30"、"abcd")的嵌套JSON数据,重点解决cannotrangeover*tmp错误,并提供结构体设计、反序列化逻辑与健壮性处理的最佳实践。</dd> <dd class="cont2"> <!--<span class="cont1"><img src="zrimages/example/img10.png"/>山外的鸭子哥</span>--> <span class="cont2"><b></b>1小时前 08:30</span> <span class="cont4"><b></b>0</span> </dd> </dl> </li> <li> <a href="https://www.zhengruan.com/news/621522" class="img1" title="HTML中动态插入MySQL URL字段的方法如下:后端处理:使用PHP、Python等后端语言从MySQL中查询URL字段。生成HTML链接:将查询到的URL"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20260414/177612571323532.jpg" alt="HTML中动态插入MySQL URL字段的方法如下:后端处理:使用PHP、Python等后端语言从MySQL中查询URL字段。生成HTML链接:将查询到的URL"> <span>正版软件</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/621522" title="HTML中动态插入MySQL URL字段的方法如下:后端处理:使用PHP、Python等后端语言从MySQL中查询URL字段。生成HTML链接:将查询到的URL" class="aBlack">HTML中动态插入MySQL URL字段的方法如下:后端处理:使用PHP、Python等后端语言从MySQL中查询URL字段。生成HTML链接:将查询到的URL</a></dt> <dd class="cont1">本文介绍如何将MySQL表中存储的URL字符串安全地嵌入HTML超链接的href属性,实现每个课程名称指向不同目标页面,避免硬编码或固定跳转地址。</dd> <dd class="cont2"> <!--<span class="cont1"><img src="zrimages/example/img10.png"/>山外的鸭子哥</span>--> <span class="cont2"><b></b>1小时前 08:15</span> <span class="cont4"><b></b>0</span> </dd> </dl> </li> </ul> </div> <!--左边 end--> <!--右边--> <div class="zrZuoRight"> <!-- <div class="zrBanner"><a href="#"><img src="zrimages/example/img11.png"/></a></div>--> <div class="zrByddBox"> <div class="zrByddTitle"><span><h2>最新发布</h2></span></div> <ul class="zrByddList"> <li> <a href="https://www.zhengruan.com/news/1561" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/upload/news/20191220/1576825692n90594/2019-12-20-15-08-12-5dfc735c5581a-1.jpg" alt="微软公布全新开源编程语言Bosque:正则化 告别for循环"> <span>1</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/1561" title="微软公布全新开源编程语言Bosque:正则化 告别for循环" class="aBlack">微软公布全新开源编程语言Bosque:正则化 告别for循环</a></dt> <dd><b></b>2307天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/1562" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/upload/news/20191220/1576825776n3925/2019-12-20-15-09-36-5dfc73b032cee-1.jpg" alt="微软推出最新程序语言Bosque 以Functors取代Loop循环"> <span>2</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/1562" title="微软推出最新程序语言Bosque 以Functors取代Loop循环" class="aBlack">微软推出最新程序语言Bosque 以Functors取代Loop循环</a></dt> <dd><b></b>2307天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/467167" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20250908/175730816420885.jpg" alt="C语言中\n是什么意思?换行转义字符详解"> <span>3</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/467167" title="C语言中\n是什么意思?换行转义字符详解" class="aBlack">C语言中\n是什么意思?换行转义字符详解</a></dt> <dd><b></b>218天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/63159" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="" alt="探析Spring Boot框架的优点和特色"> <span>4</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/63159" title="探析Spring Boot框架的优点和特色" class="aBlack">探析Spring Boot框架的优点和特色</a></dt> <dd><b></b>534天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/85739" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="" alt="深入比较PyCharm社区版和专业版的功能"> <span>5</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/85739" title="深入比较PyCharm社区版和专业版的功能" class="aBlack">深入比较PyCharm社区版和专业版的功能</a></dt> <dd><b></b>472天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/89680" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="" alt="专家观点:谷歌是否会继续支持Golang的探讨"> <span>6</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/89680" title="专家观点:谷歌是否会继续支持Golang的探讨" class="aBlack">专家观点:谷歌是否会继续支持Golang的探讨</a></dt> <dd><b></b>447天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/16470" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20230427/168257472829656.jpg" alt="Python实战教程:批量转换多种音乐格式"> <span>7</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/16470" title="Python实战教程:批量转换多种音乐格式" class="aBlack">Python实战教程:批量转换多种音乐格式</a></dt> <dd><b></b>1080天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/41129" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="" alt="如何在在线答题中实现试卷的自动批改和自动评分"> <span>8</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/41129" title="如何在在线答题中实现试卷的自动批改和自动评分" class="aBlack">如何在在线答题中实现试卷的自动批改和自动评分</a></dt> <dd><b></b>907天前</dd> </dl> <div class="clear"></div> </li> <li> <a href="https://www.zhengruan.com/news/87821" class="img"> <img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20240301/170927298835686.jpg" alt="解决Python安装失败的问题"> <span>9</span> </a> <dl> <dt><a href="https://www.zhengruan.com/news/87821" title="解决Python安装失败的问题" class="aBlack">解决Python安装失败的问题</a></dt> <dd><b></b>458天前</dd> </dl> <div class="clear"></div> </li> </ul> </div> <div class="zrRmgzBox" style="margin-top:20px;"> <div class="zrByddTitle"> <span><h2>相关推荐</h2></span> </div> <ul class="zrXwdtList"> <li><a href="https://www.zhengruan.com/news/621576" title="Go run 无输出不退出怎么解决?" class="aBlack">Go run 无输出不退出怎么解决?</a></li> <li><a href="https://www.zhengruan.com/news/621567" title="Golang解压zip文件到指定目录方法" class="aBlack">Golang解压zip文件到指定目录方法</a></li> <li><a href="https://www.zhengruan.com/news/621557" title="Python模块变量作用域与exec用法解析" class="aBlack">Python模块变量作用域与exec用法解析</a></li> <li><a href="https://www.zhengruan.com/news/621544" title="Excel数据批量导入Word表格教程" class="aBlack">Excel数据批量导入Word表格教程</a></li> <li><a href="https://www.zhengruan.com/news/621530" title="Go 中动态键名嵌套 JSON 解析方法" class="aBlack">Go 中动态键名嵌套 JSON 解析方法</a></li> <li><a href="https://www.zhengruan.com/news/621522" title="HTML中动态插入MySQL URL字段的方法如下:后端处理:使用PHP、Python等后端语言从MySQL中查询URL字段。生成HTML链接:将查询到的URL" class="aBlack">HTML中动态插入MySQL URL字段的方法如下:后端处理:使用PHP、Python等后端语言从MySQL中查询URL字段。生成HTML链接:将查询到的URL</a></li> <li><a href="https://www.zhengruan.com/news/621505" title="Java如何从字符串提取多个字段值" class="aBlack">Java如何从字符串提取多个字段值</a></li> <li><a href="https://www.zhengruan.com/news/621496" title="Java引用类型详解与使用场景分析" class="aBlack">Java引用类型详解与使用场景分析</a></li> <li><a href="https://www.zhengruan.com/news/621483" title="Java Stream 去重技巧:按属性筛选重复对象" class="aBlack">Java Stream 去重技巧:按属性筛选重复对象</a></li> </ul> </div> <div class="zrRmgzBox" style="margin-top:30px;"> <div class="zrByddTitle"> <span><h2>热门关注</h2></span> </div> <ul class="zrRmgzList"> <li> <span><a href="https://www.zhengruan.com/product/19" title="Xshell 6 简体中文"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/3c06ff5d8d3a8b234a536d602bcc0477.jpg" alt="Xshell 6 简体中文"></a></span> <dl> <dt><a href="https://www.zhengruan.com/product/19" title="Xshell 6 简体中文" class="aBlack">Xshell 6 简体中文</a></dt> <dd class="unstar unstar5"></dd> <dd class="cont1">¥899.00-¥1149.00</dd> </dl> <div class="clear"></div> </li> <li> <span><a href="https://www.zhengruan.com/product/48" title="DaVinci Resolve Studio 16 简体中文"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/60b5be77e7fc0ffb073d36675dc61585.jpg" alt="DaVinci Resolve Studio 16 简体中文"></a></span> <dl> <dt><a href="https://www.zhengruan.com/product/48" title="DaVinci Resolve Studio 16 简体中文" class="aBlack">DaVinci Resolve Studio 16 简体中文</a></dt> <dd class="unstar unstar5"></dd> <dd class="cont1">¥2550.00-¥2550.00</dd> </dl> <div class="clear"></div> </li> <li> <span><a href="https://www.zhengruan.com/product/47" title="Camtasia 2019 简体中文"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/537cf14c8ab78e3bca0cfe8e91c8b683.jpg" alt="Camtasia 2019 简体中文"></a></span> <dl> <dt><a href="https://www.zhengruan.com/product/47" title="Camtasia 2019 简体中文" class="aBlack">Camtasia 2019 简体中文</a></dt> <dd class="unstar unstar5"></dd> <dd class="cont1">¥689.00-¥689.00</dd> </dl> <div class="clear"></div> </li> <li> <span><a href="https://www.zhengruan.com/product/35" title="Luminar 3 简体中文"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/d253cca5f121bda501d04debdf3a4fa2.jpg" alt="Luminar 3 简体中文"></a></span> <dl> <dt><a href="https://www.zhengruan.com/product/35" title="Luminar 3 简体中文" class="aBlack">Luminar 3 简体中文</a></dt> <dd class="unstar unstar5"></dd> <dd class="cont1">¥288.00-¥288.00</dd> </dl> <div class="clear"></div> </li> <li> <span><a href="https://www.zhengruan.com/product/49" title="Apowersoft 录屏王 简体中文"><img onerror="this.src='https://www.zhengruan.com/statics/www/zrimages/404_bg.png'" src="https://www.zhengruan.com/uploads/20200428/c61fdff8f15649063e6b2617c8aa96fb.jpg" alt="Apowersoft 录屏王 简体中文"></a></span> <dl> <dt><a href="https://www.zhengruan.com/product/49" title="Apowersoft 录屏王 简体中文" class="aBlack">Apowersoft 录屏王 简体中文</a></dt> <dd class="unstar unstar5"></dd> <dd class="cont1">¥129.00-¥339.00</dd> </dl> <div class="clear"></div> </li> </ul> </div> </div> <!--右边 end--> <div class="clear"></div> </div> <!--主体 end--> <!--底部--> <!--底部--> <div class="zrFoot"> <div class="zrFootIn"> <div class="zrFootMsg">网站备案号: <a href="https://beian.miit.gov.cn/" target="" style="text-decoration: none;"> <font color="#9b9db0">苏ICP备2026018738号-1 联系邮箱:zhengruancom@outlook.com<br> Copyright ©2018-2020</font> </a> </div> </div> </div> <!--底部 end--> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?2f243b178fc8c70f194fc14781f06522"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <!--底部 end--> <script> function countView(){ $.ajax({ type: "post", url: "/countView?&time="+new Date().getTime(), data:{'type':'news','id':"537186"}, async:false, dataType: "json", success: function(result){ console.log(result) }, error:function(){ } }); } function code_highlight() { SyntaxHighlighter.all() } $(function(){ code_highlight(); countView(); $("#qrcode").qrcode({width:150,height:150,text:"https://m.zhengruan.com/news/537186"}) }) </script> </body> </html>