<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>心定义前端</title><link>https://www.naturexs.com/</link><description>心定义前端</description><item><title>【转载】phpcms网站迁移无法更新内容提示Table 'led_com.lz_' doesn't exist的解决方法</title><link>https://www.naturexs.com/index.php/post/38.html</link><description>&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;新接的一位客户说要把旧phpcms网站迁移到新的服务器并更换新域名，这对ytkah是小菜一碟，但往往事与愿违，忽略了一些细节会很惨的。进入新站后台怎么都无法生成内容，提示Table &amp;#39;led_com.lz_&amp;#39; doesn&amp;#39;t exist，找了半天都没搞定，重新导入数据库了也无济于事，最后去看了文件夹的权限，果然有问题，caches所有者是root，试着把它改为www，再次更新内容就ok了。附上迁移教程&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　1、压缩打包原网站所有文件，上传到新服务器，&lt;span style=&quot;margin: 0px; padding: 0px; color: #FF0000;&quot;&gt;注意文件夹权限和所有者&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　2、导出旧站数据库，并替换里面的网址&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　3、导入数据库到新站&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　4、修改第一步解压好的/caches/configs/database.php中的数据库名称密码，以及修改/caches/configs/system.php里面所有和域名有关的，把以前的老地址修改为新地址。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　5、进行后台设置-》站点管理&amp;nbsp;&amp;nbsp; 对相应的站点的域名进行修改。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　6、更新系统缓存。点击后台右上角的“更新缓存”按钮。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　7、进入内容-》附件管理-》附件地址替换。把附件地址批量的替换为新的地址。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　8、内容-》批量更新URL 。把所有的文章的地址都更新一下。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　9、下面就是把全站都生成一次了。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　ok，就写这些步骤了，祝你好运！&lt;/p&gt;&lt;p&gt;原文地址：https://www.cnblogs.com/ytkah/p/10951288.html&lt;/p&gt;</description><pubDate>Fri, 07 Aug 2026 13:19:57 +0800</pubDate></item><item><title>【转载】phpcms邮箱smtp配置163企业邮测试可用</title><link>https://www.naturexs.com/index.php/post/37.html</link><description>&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;前面我们给phpcms加了https，但是修改邮箱smtp配置一直提交不了，提示请填写接口地址，格式为：http://www.abc.com，结尾不包含&amp;quot;/&amp;quot;，找了一下phpsso有接口地址配置，把https改为http，先不提交，再切换到邮箱配置，修改好以后再提交，这下就ok了。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://img2018.cnblogs.com/blog/567218/201905/567218-20190528105104146-1317369230.png&quot; alt=&quot;&quot; class=&quot;medium-zoom-image&quot; style=&quot;margin: 0px auto; padding: 0px; border: 0px; max-width: 100%; height: auto !important; cursor: zoom-in; transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1) !important; display: block;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　下面我们讲讲邮箱配置&lt;/p&gt;&lt;div class=&quot;cnblogs_Highlighter sh-gutter&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_201771&quot; class=&quot;syntaxhighlighter  php&quot; style=&quot;padding: 0px; width: 948px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;948&quot; height=&quot;NaN&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;3&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;4&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;5&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;6&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;7&lt;/div&gt;&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;8&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;z-index: 1; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;邮件发送模式 ：SMTP 函数发送&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;邮件服务器 ：smtp.qiye.163.com&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;邮件发送端口 ：994&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;发件人地址 ：此处填写管理员邮箱或者你想使用的发送系统邮件的邮箱地址&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;AUTH LOGIN验证 ：开启&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;验证用户名 ：企业邮箱中已开通的邮箱&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;验证密码 ：上述邮箱的登陆密码&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;邮件设置测试 ：此处填写需要接受测试信息邮箱地址&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://img2018.cnblogs.com/blog/567218/201905/567218-20190528105830959-1828439197.png&quot; alt=&quot;163企业邮箱设置smtp&quot; class=&quot;medium-zoom-image&quot; style=&quot;margin: 0px auto; padding: 0px; border: 0px; max-width: 100%; height: auto !important; cursor: zoom-in; transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1) !important; display: block;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://img2018.cnblogs.com/blog/567218/201905/567218-20190528105844756-1803061519.png&quot; alt=&quot;163企业邮箱设置端口&quot; class=&quot;medium-zoom-image&quot; style=&quot;margin: 0px auto; padding: 0px; border: 0px; max-width: 100%; height: auto !important; cursor: zoom-in; transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1) !important; display: block;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://img2018.cnblogs.com/blog/567218/201905/567218-20190528110142872-81354231.png&quot; alt=&quot;163企业邮箱设置smtp成功&quot; class=&quot;medium-zoom-image&quot; style=&quot;margin: 0px auto; padding: 0px; border: 0px; max-width: 100%; height: auto !important; cursor: zoom-in; transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1) !important; display: block;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　Yes，测试成功！有相同需求的朋友可以试试，祝你好运！&lt;/p&gt;&lt;p&gt;原文地址：https://www.cnblogs.com/ytkah/p/10935966.html&lt;/p&gt;</description><pubDate>Fri, 07 Aug 2026 13:18:23 +0800</pubDate></item><item><title>【转】phpcms站点域名配置https无法提交如何处理</title><link>https://www.naturexs.com/index.php/post/36.html</link><description>&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　一位网友给ytkah反映说phpcms站点域名配置https无法提交，在后台修改站点域名为https提交后提示“&lt;span style=&quot;margin: 0px; padding: 0px; color: #00CCFF;&quot;&gt;站点域名格式应该为http://www.phpcms.cn/，请以‘/’结束&lt;/span&gt;”，这个要如何修改呢？通过关键词定位我们找到文件的修改路径/phpcms/modules/admin/site.php，第一步：大概89行找到&lt;/p&gt;&lt;div class=&quot;cnblogs_Highlighter sh-gutter&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_996036&quot; class=&quot;syntaxhighlighter  php&quot; style=&quot;padding: 0px; width: 948px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;948&quot; height=&quot;NaN&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;z-index: 1; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php keyword&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;if&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(!&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;empty&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;) &amp;amp;&amp;amp; !preg_match(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;/http:\/\/(.+)\/$/i&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;)) {&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;showmessage(L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;).L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain_ex2&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;));&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　将它改成&lt;/p&gt;&lt;div class=&quot;cnblogs_Highlighter sh-gutter&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_22531&quot; class=&quot;syntaxhighlighter  php&quot; style=&quot;padding: 0px; width: 948px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;948&quot; height=&quot;NaN&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;z-index: 1; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php keyword&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;if&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(!&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;empty&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;) &amp;amp;&amp;amp; !preg_match(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;/https:\/\/(.+)\/$/i&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;)) {&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;showmessage(L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;).L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain_ex2&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;));&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　第二步：再找到255行左右&lt;/p&gt;&lt;div class=&quot;cnblogs_Highlighter sh-gutter&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_757031&quot; class=&quot;syntaxhighlighter  php&quot; style=&quot;padding: 0px; width: 948px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;948&quot; height=&quot;NaN&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;z-index: 1; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php keyword&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;if&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(!&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;empty&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;) &amp;amp;&amp;amp; !preg_match(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;/http:\/\/(.+)\/$/i&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;)) {&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;showmessage(L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;).L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain_ex2&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;));&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　改成&lt;/p&gt;&lt;div class=&quot;cnblogs_Highlighter sh-gutter&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_106818&quot; class=&quot;syntaxhighlighter  php&quot; style=&quot;padding: 0px; width: 948px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;948&quot; height=&quot;NaN&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-style: none solid none none !important; border-color: currentcolor rgb(108, 226, 108) currentcolor currentcolor !important; border-image: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;border-collapse: collapse; margin: 0px !important; padding: 0px !important; border-width: 0px !important; border-style: none !important; border-color: currentcolor !important; min-width: auto !important; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;z-index: 1; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php keyword&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;if&lt;/code&gt; &lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(!&lt;/code&gt;&lt;code class=&quot;php functions&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;empty&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;) &amp;amp;&amp;amp; !preg_match(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;/https:\/\/(.+)\/$/i&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;, &lt;/code&gt;&lt;code class=&quot;php variable&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;$domain&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;)) {&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;showmessage(L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;).L(&lt;/code&gt;&lt;code class=&quot;php string&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;#39;site_domain_ex2&amp;#39;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;));&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important; white-space: nowrap !important;&quot;&gt;&lt;code class=&quot;php spaces&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;php plain&quot; style=&quot;margin: 5px; padding: 1px 2px; border-radius: 4px; background: rgb(249, 250, 250); border: 1px solid rgb(228, 228, 228); overflow-x: auto; font-size: 14px; color: rgb(133, 128, 128); max-width: 740px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow-y: visible !important; position: static !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　保存上传，重新更改网站域名加https就不会弹出错误提示了。&lt;/p&gt;&lt;p&gt;原文地址：https://www.cnblogs.com/ytkah/p/10931505.html&lt;/p&gt;</description><pubDate>Fri, 07 Aug 2026 13:15:22 +0800</pubDate></item><item><title>【转载】phpcms添加https后台分页错误的解决方法</title><link>https://www.naturexs.com/index.php/post/35.html</link><description>&lt;p&gt;&lt;br/&gt;&lt;span style=&quot;color: #333333; font-family: verdana, Arial, Helvetica, sans-serif; background-color: #FFFFFF;&quot;&gt;今天修改一位客户的phpcms网站，他要求添加https，这对ytkah来说是轻车熟路了，但是后台稍微有点问题，点击分页出现错误，将鼠标移到下一页显示的链接是https://www.abc.com/www.abc.com/index.php?m=content&amp;amp;c=content&amp;amp;a=init&amp;amp;menuid=822&amp;amp;catid=37&amp;amp;pc_hash=GsxXx8&amp;amp;page=2，很明显是多了一个www.abc.com，这个应该是配置文件中https没有设置，那我们就找找，通过关键词我们定位到文件是在/phpcms/libs/functions/global.func.php，大概在1591行&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$url&amp;nbsp;=&amp;nbsp;str_replace(array(&amp;#39;http://&amp;#39;,&amp;#39;//&amp;#39;,&amp;#39;~&amp;#39;),&amp;nbsp;array(&amp;#39;~&amp;#39;,&amp;#39;/&amp;#39;,&amp;#39;http://&amp;#39;),&amp;nbsp;$url);&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: verdana, Arial, Helvetica, sans-serif; background-color: #FFFFFF;&quot;&gt;　将它改为&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$url&amp;nbsp;=&amp;nbsp;str_replace(array(&amp;#39;https://&amp;#39;,&amp;#39;//&amp;#39;,&amp;#39;~&amp;#39;),&amp;nbsp;array(&amp;#39;~&amp;#39;,&amp;#39;/&amp;#39;,&amp;#39;https://&amp;#39;),&amp;nbsp;$url);&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #333333; font-family: verdana, Arial, Helvetica, sans-serif; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;保存，上传，刷新一下后台，再点击一下分页，已经是正确的了。&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;　　有些朋友可能反应phpcms后台站点域名配置https无法提交，可以参考这篇文章&lt;a href=&quot;https://www.cnblogs.com/ytkah/p/10931505.html&quot; style=&quot;margin: 0px; padding: 0px; text-decoration: none; color: rgb(31, 166, 230); border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor;&quot;&gt;phpcms站点域名配置https无法提交如何处理&lt;/a&gt;&lt;/p&gt;&lt;p&gt;原文地址：https://www.cnblogs.com/ytkah/p/10931444.html&lt;/p&gt;</description><pubDate>Fri, 07 Aug 2026 13:07:34 +0800</pubDate></item><item><title>餐饮灯箱菜单设计效果图</title><link>https://www.naturexs.com/index.php/post/32.html</link><description>&lt;p&gt;&lt;img src=&quot;https://www.naturexs.com/zb_users/upload/2026/08/202608071786067609775807.jpg&quot; alt=&quot;8cb3ec6ce31bf906f212fd655445b65b.jpg&quot; style=&quot;width: 100%;&quot;/&gt;&lt;/p&gt;</description><pubDate>Fri, 07 Aug 2026 09:52:18 +0800</pubDate></item><item><title>「一图读懂」你喝的是“橙汁”吗？</title><link>https://www.naturexs.com/index.php/post/31.html</link><description>&lt;p&gt;&lt;img src=&quot;https://www.naturexs.com/zb_users/upload/2026/06/202606241782279779488472.jpg&quot; alt=&quot;a253829c8aff5c03ebdb7ed31cbd57c1.jpg&quot;/&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Jun 2026 13:41:20 +0800</pubDate></item><item><title>【转载】一步步教你安全修改PHPCMS V9后台管理路径提升网站安全</title><link>https://www.naturexs.com/index.php/post/30.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 20px; overflow-wrap: break-word; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 16px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;整个修改共分两步：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;第一步：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;在网站根目录创建一个文件夹，以后就要通过这个文件夹进入后台登录界面的，所以文件夹名就要取一个不易被人轻易猜到的名称。这里作为演示，我就取为 admpub 好了。接着，在这个文件夹里新建一个文件index.php，内容为：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 20px; overflow-wrap: break-word; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 16px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;代码如下:&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;&amp;lt;?php&amp;nbsp;define(‘PHPCMS_PATH’,&amp;nbsp;realpath(dirname(__FILE__)&amp;nbsp;.&amp;nbsp;‘/..’)&amp;nbsp;.&amp;nbsp;‘/’);
include&amp;nbsp;PHPCMS_PATH&amp;nbsp;.&amp;nbsp;‘/phpcms/base.php’;&amp;nbsp;//&amp;nbsp;pc_base::creat_app();
$session_storage&amp;nbsp;=&amp;nbsp;‘session_’&amp;nbsp;.&amp;nbsp;pc_base&amp;nbsp;::&amp;nbsp;load_config(‘system’,&amp;nbsp;‘session_storage’);
pc_base&amp;nbsp;::&amp;nbsp;load_sys_class($session_storage);
session_start();
$_SESSION[‘right_enter’]&amp;nbsp;=&amp;nbsp;1;
unset($session_storage);
header(‘location:../index.php?m=admin’);&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 20px; overflow-wrap: break-word; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 16px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;第二步：&lt;br style=&quot;box-sizing: border-box;&quot;/&gt;在 phpcms/modules/admin/ 文件夹里新建一个文件 MY_index.php，内容为：&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 20px; overflow-wrap: break-word; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 16px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;代码如下:&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-php&quot;&gt;&amp;lt;?php&amp;nbsp;defined(‘IN_PHPCMS’)&amp;nbsp;or&amp;nbsp;exit(‘No&amp;nbsp;permission&amp;nbsp;resources.’);
class&amp;nbsp;MY_index&amp;nbsp;extends&amp;nbsp;index&amp;nbsp;{
public&amp;nbsp;function&amp;nbsp;__construct()&amp;nbsp;{
if&amp;nbsp;(empty($_SESSION[‘right_enter’]))&amp;nbsp;{
header(‘location:./’);
exit;
}
parent&amp;nbsp;::&amp;nbsp;__construct();
}
public&amp;nbsp;function&amp;nbsp;public_logout()&amp;nbsp;{
$_SESSION[‘right_enter’]&amp;nbsp;=&amp;nbsp;0;
parent&amp;nbsp;::&amp;nbsp;public_logout();
}
}&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 20px; overflow-wrap: break-word; color: rgb(85, 85, 85); font-family: &amp;quot;Microsoft Yahei&amp;quot;; font-size: 16px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;好了，修改完成。以后就只能通过 admpub/ 目录访问后台登录入口 了，如果直接使用 index.php?m=admin 访问的话，会直接跳转到网站首页，这样就阻止了对后台登录入口的直接访问了。&lt;/p&gt;&lt;p&gt;【转载：https://www.cnbanwagong.com/48360.html】&lt;/p&gt;</description><pubDate>Tue, 09 Jun 2026 14:42:12 +0800</pubDate></item><item><title>【转载】phpcms网站被挂马如何彻底清除</title><link>https://www.naturexs.com/index.php/post/29.html</link><description>&lt;blockquote style=&quot;margin: 2px 0px 40px; padding: 10px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); border-radius: 5px; background-color: rgb(255, 248, 249); border-left: 5px solid rgb(252, 235, 235); color: rgb(51, 51, 51); font-size: 16px; line-height: 34px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal;&quot;&gt;确认网页异常、源码含恶意代码；2. 备份后断网隔离；3. 用安全工具扫描并人工检查高危目录及数据库，清除木马和后门。&lt;/blockquote&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://img.php.cn/upload/article/001/221/864/175836576283424.png&quot; alt=&quot;phpcms网站被挂马如何彻底清除&quot; style=&quot;margin: 0px auto; padding: 0px; display: flex; vertical-align: top; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; object-fit: cover; max-width: 708px;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;Php&lt;a title=&quot;cms&quot; href=&quot;https://www.php.cn/zt/15995.html&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(255, 102, 0); outline: none; cursor: pointer;&quot;&gt;cms&lt;/a&gt;网站被挂马后，不能只删除几个恶意文件就认为问题解决。必须系统排查、清除后门、修复漏洞，否则很快会再次被入侵。以下是彻底清除挂马的步骤和建议。&lt;/p&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;1. 确认被挂马的表现&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;常见症状包括：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;网页中出现不明弹窗、广告跳转或黑链&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a title=&quot;搜索引擎&quot; href=&quot;https://www.php.cn/zt/20588.html&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(255, 102, 0); outline: none; cursor: pointer;&quot;&gt;搜索引擎&lt;/a&gt;提示“该网站可能含有恶意内容”&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;页面源码中出现加密JS代码或iframe嵌入&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;后台或FTP账户异常登录&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;先通过&lt;a title=&quot;浏览器&quot; href=&quot;https://www.php.cn/zt/16180.html&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(255, 102, 0); outline: none; cursor: pointer;&quot;&gt;浏览器&lt;/a&gt;查看网页源码，搜索&lt;span style=&quot;color:red;margin: 0px; padding: 0px;&quot;&gt;eval&lt;/span&gt;、&lt;span style=&quot;color:red;margin: 0px; padding: 0px;&quot;&gt;base64_decode&lt;/span&gt;、&lt;span style=&quot;color:red;margin: 0px; padding: 0px;&quot;&gt;gzinflate&lt;/span&gt;、&lt;span style=&quot;color:red;margin: 0px; padding: 0px;&quot;&gt;preg_replace&lt;/span&gt;（带/e修饰符）、&lt;span style=&quot;color:red;margin: 0px; padding: 0px;&quot;&gt;iframe src=&lt;/span&gt;等关键词，定位可疑代码。&lt;/p&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;2. 备份并断网排查&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;不要直接在线清理。应：&lt;/p&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;立即学习&lt;/span&gt;“&lt;a href=&quot;https://pan.quark.cn/s/7fc7563c4182&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: blue; outline: none; cursor: pointer; font-weight: bolder;&quot;&gt;PHP免费学习笔记（深入）&lt;/a&gt;”；&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;立即备份当前网站文件和数据库（用于后续分析）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;暂时关闭网站或屏蔽访问，防止继续传播木马&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;断开服务器对外服务，避免黑客远程控制&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;3. 彻底扫描和清除木马&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;使用专业工具和人工结合方式扫描：&lt;/p&gt;&lt;div class=&quot;aritcle_card flexRow&quot; style=&quot;margin: 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); width: 990px; height: 100px; background: rgb(248, 248, 248); border-radius: 5px; display: flex; align-items: center; flex-direction: row; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal;&quot;&gt;&lt;div class=&quot;artcardd flexRow&quot; style=&quot;margin: 13px 24px 13px 14px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); align-items: center; display: flex; flex-direction: row;&quot;&gt;&lt;a class=&quot;aritcle_card_img&quot; href=&quot;https://www.php.cn/xiazai/gongju/2179&quot; title=&quot;Comet AI 浏览器&quot; style=&quot;margin: 0px 16px 0px 0px; padding: 0px; color: rgb(61, 167, 13); text-decoration: none !important; outline: none; cursor: pointer; width: 70px; height: 70px; border-radius: 15px;&quot;&gt;&lt;img src=&quot;https://img.php.cn/upload/manual/000/969/633/69e8a9e061c88522.png&quot; alt=&quot;Comet AI 浏览器&quot; style=&quot;margin: 0px; padding: 0px; display: inline-block; vertical-align: top; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; object-fit: cover; width: 70px; height: 70px; border-radius: 15px; max-width: 760px;&quot;/&gt;&lt;/a&gt;&lt;div class=&quot;aritcle_card_info flexColumn&quot; style=&quot;margin: 0px 110px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); justify-content: space-between; width: 645px; display: flex; flex-direction: column;&quot;&gt;&lt;a href=&quot;https://www.php.cn/xiazai/gongju/2179&quot; title=&quot;Comet AI 浏览器&quot; style=&quot;margin: 0px 0px 12px; padding: 0px; color: rgb(51, 51, 51); text-decoration: none !important; outline: none; cursor: pointer; font-size: 16px; line-height: 16px; -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical;&quot;&gt;Comet AI 浏览器&lt;/a&gt;&lt;p style=&quot;margin: 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(153, 153, 153); -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; box-sizing: border-box; border-radius: 8px;&quot;&gt;下载 Comet AI 浏览器，体验由 Perplexity AI 驱动的革命性上网方式。内置 AI 助手可实时总结网页、跨标签页对比信息、自动执行任务。告别繁琐操作，让 AI 成为你的浏览副驾，大幅提升研究与工作效率。支持 Windows、macOS、Android 和 iOS。&lt;/p&gt;&lt;/div&gt;&lt;a href=&quot;https://www.php.cn/xiazai/gongju/2179&quot; title=&quot;Comet AI 浏览器&quot; class=&quot;aritcle_card_btn flexRow flexcenter&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(241, 53, 54); text-decoration: none !important; outline: none; cursor: pointer; width: 110px; height: 40px; background: rgb(255, 255, 255); border-radius: 5px; border: 1px solid rgb(241, 53, 54); font-size: 16px; flex-shrink: 0; display: flex; flex-direction: row; align-items: center; justify-content: center;&quot;&gt;&lt;strong style=&quot;margin: 0px 2px 0px 0px; padding: 0px; width: 18px; height: 18px; background: url(&amp;quot;../lhimages/icon351.png&amp;quot;) 0% 0% / contain no-repeat; flex-shrink: 0;&quot;&gt;&lt;/strong&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;下载&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;用D盾、安全狗、河马查杀等本地工具上传扫描，识别Webshell和后门文件&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;重点检查以下目录：&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;/uploadfile/&lt;/strong&gt;、&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;/cache/&lt;/strong&gt;、&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;/images/&lt;/strong&gt;、&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;/&lt;a title=&quot;js&quot; href=&quot;https://www.php.cn/zt/15802.html&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(255, 102, 0); outline: none; cursor: pointer;&quot;&gt;js&lt;/a&gt;/&lt;/strong&gt;、&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;/data/&lt;/strong&gt;（Phpcms的缓存和附件目录常被写入木马）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;检查所有.&lt;a title=&quot;php&quot; href=&quot;https://www.php.cn/zt/15714.html&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(255, 102, 0); outline: none; cursor: pointer;&quot;&gt;php&lt;/a&gt;文件，尤其是最近修改过的，查看是否有隐藏的eval或include代码&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;数据库也可能被注入脚本，导出.sql文件后用文本编辑器搜索&amp;lt;script&amp;gt; &amp;lt;/script&amp;gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;4. 更换密码与权限加固&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;黑客可能已获取多种权限：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;修改FTP账号密码，删除不明用户&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;修改数据库密码，并限制远程连接&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;修改Phpcms后台管理员密码，最好是强密码&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;设置关键目录（如/templates/、/caches/）禁止执行PHP脚本（可通过.htaccess或Nginx配置）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;确保文件权限合理：目录755，文件644，config文件600&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;5. 升级程序与修复漏洞&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;Phpcms V9存在多个历史漏洞：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;确认是否使用官方最新版，如果不是，请升级到官方修复版本&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;特别注意&lt;a title=&quot;phpcms&quot; href=&quot;https://www.php.cn/zt/18025.html&quot; target=&quot;_blank&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(255, 102, 0); outline: none; cursor: pointer;&quot;&gt;phpcms&lt;/a&gt;/modules/content/down.php中的任意文件下载漏洞&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;检查是否安装了非官方模块或插件，这些往往是突破口&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;关闭不必要的功能，如文件上传接口未做严格校验&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;6. 重新部署干净站点&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;最稳妥的方式是：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;从官方下载全新Phpcms程序包&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;仅迁移经过验证的内容数据（如文章、分类）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;重新配置站点，避免直接恢复旧文件&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;模板文件需人工审查后再使用，尤其footer、header等公共部分&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;margin: 25px 0px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 20px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;7. 后续监控与防护&lt;/h3&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;清除后要持续观察：&lt;/p&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;开启日志记录，定期检查access.log和error.log&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;设置文件完整性监控，发现异常修改及时报警&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;使用Web应用防火墙（WAF）防护常见攻击&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;定期备份站点和数据库&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin: 15px 0px; padding: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(61, 70, 77); font-size: 16px; box-sizing: border-box; border-radius: 8px; font-family: &amp;quot;PingFangSC, PingFang SC;&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;基本上就这些。关键是不能图省事，必须从根源堵住漏洞。很多站长清除了木马但没改密码或没升级程序，几天后又被挂马。只要按步骤来，Phpcms完全可以安全运行。&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #F79646;&quot;&gt;&lt;strong&gt;文章转载自：https://www.php.cn/faq/1537150.html&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Wed, 03 Jun 2026 14:00:31 +0800</pubDate></item><item><title>（转载）Adobe XD导出图像是怎么回事？解决方法如下。</title><link>https://www.naturexs.com/index.php/post/28.html</link><description>&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;首先说 Adobe XD 自带的导出工具，它最大可以实现&amp;nbsp;5.33...&amp;nbsp;倍的图片导出，导致导出模糊最常见的错误就是“采用以下大小进行设计”选项选择错误，“采用以下大小进行设计”是让你指定一个倍数，因为 Adobe XD 并不知道你是采用的几倍图设计的。&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;&lt;img src=&quot;https://cdn.xdpacks.com/94xy.com/ueditor/php/upload/image/20200512/1589290343484380.png&quot; title=&quot;1589290343484380.png&quot; alt=&quot;image.png&quot; style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; display: block; vertical-align: middle; height: auto; max-width: 90%; border-radius: 6px; margin: 20px auto;&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;section style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; text-align: justify;&quot;&gt;如果要导出一个宽高均为300*300的矩形，“采用以下大小”进行设计选择“1x”，“导出”选择“iOS”，“格式”推荐“PNG”，最终你将得到三张图片即提示的“所选资源将导出为 1x,2x,3x”，1x 的宽和高会是 300*300（这是你指定的）， 2x 的宽和高会是 600*600（300*2=600）, 3x 的宽和高会是 900*900（300*3=900）。&lt;/section&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;&lt;br style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ;&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;section style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; text-align: justify;&quot;&gt;“采用以下大小”进行设计选择“2x”，其它设置相同导出后，最终你得到的三张图片 2x 的宽和高会是 300*300（这是你指定的）， 1x 的宽和高会是 150*150（300/2=150）, 3x 的宽和高会是 450*450（300/2*3=450）。&lt;/section&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;“采用以下大小”进行设计选择“3x”，其它设置相同导出后，最终你得到的三张图片 3x 的宽和高会是 300*300（这是你指定的），1x 的宽和高会是 100*100（300/3=100）,2x 的宽和高会是 200*200（300/3*2=200）。&lt;img src=&quot;https://cdn.xdpacks.com/94xy.com/ueditor/php/upload/image/20200512/1589290362922894.png&quot; title=&quot;1589290362922894.png&quot; alt=&quot;image.png&quot; style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; display: block; vertical-align: middle; height: auto; max-width: 90%; border-radius: 6px; margin: 20px auto;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;“采用以下大小进行设计”选择的越大，导出的图片尺寸越小。当“导出”选择“Android”，“采用以下大小进行设计”选择“75% - ldpi”时最大可以得到 5.3 倍的图片。&lt;br style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;section style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; text-align: justify;&quot;&gt;需要注意的是位图放大会模糊，所以你要是在 Adobe XD 使用了较小的位图，导出之后放大位图部分肯定是会模糊的，可以使用 3 倍图的位图缩小到 1 倍图，导出的 3 倍图也会是清晰的。&lt;br/&gt;&lt;br style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ;&quot;/&gt;&lt;/section&gt;&lt;section style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; text-align: justify;&quot;&gt;“Custom Export”插件，可以自己输入倍数比如“100”可以导出 @100x 的图片，只要是矢量内容导出都不会模糊，但是 Adobe XD 对导出的图片大小有一定限制，可导出的单张图片最大尺寸为 50000*50000，即如果你要导出 @100x 的图片，选择的内容宽和高均不能超过 500，@10x 则不能超过 5000。&lt;/section&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;&lt;img src=&quot;https://cdn.xdpacks.com/94xy.com/ueditor/php/upload/image/20200512/1589290412660752.png&quot; title=&quot;1589290412660752.png&quot; alt=&quot;image.png&quot; style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; display: block; vertical-align: middle; height: auto; max-width: 90%; border-radius: 6px; margin: 20px auto;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;所以，Adobe XD矢量内容，导出放大不会模糊，如果模糊那就是你设置错了，位图如果模糊是因为你的位图原图小。&lt;/p&gt;&lt;p style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; margin: 20px 0px; text-align: justify;&quot;&gt;&lt;br style=&quot;border: 0px solid; box-sizing: border-box; --un-rotate: 0; --un-rotate-x: 0; --un-rotate-y: 0; --un-rotate-z: 0; --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; --un-skew-x: 0; --un-skew-y: 0; --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-pan-x: ; --un-pan-y: ; --un-pinch-zoom: ; --un-scroll-snap-strictness: proximity; --un-ordinal: ; --un-slashed-zero: ; --un-numeric-figure: ; --un-numeric-spacing: ; --un-numeric-fraction: ; --un-border-spacing-x: 0; --un-border-spacing-y: 0; --un-ring-offset-shadow: 0 0 transparent; --un-ring-shadow: 0 0 transparent; --un-shadow-inset: ; --un-shadow: 0 0 transparent; --un-ring-inset: ; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-width: 0px; --un-ring-color: rgba(147,197,253,.5); --un-blur: ; --un-brightness: ; --un-contrast: ; --un-drop-shadow: ; --un-grayscale: ; --un-hue-rotate: ; --un-invert: ; --un-saturate: ; --un-sepia: ; --un-backdrop-blur: ; --un-backdrop-brightness: ; --un-backdrop-contrast: ; --un-backdrop-grayscale: ; --un-backdrop-hue-rotate: ; --un-backdrop-invert: ; --un-backdrop-opacity: ; --un-backdrop-saturate: ; --un-backdrop-sepia: ; color: rgb(51, 51, 51); font-family: ui-sans-serif, system-ui, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: medium; white-space: normal; background-color: rgb(251, 251, 251);&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 09 May 2026 11:10:57 +0800</pubDate></item><item><title>【转载】梦梵FLY：Phpcms V9后台登录地址修改教程：提升网站安全性的关键步骤</title><link>https://www.naturexs.com/index.php/post/27.html</link><description>&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Phpcms V9作为一款流行的内容管理系统，默认后台登录地址容易被恶意扫描，导致安全风险。通过修改后台登录地址，可以有效防止未授权访问，提升网站安全性。本教程将一步步指导您如何修改Phpcms V9默认后台登录地址，请在操作前备份所有程序文件，以防意外错误。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;步骤一：修改phpcms/modules/admin/classes/admin.class.php文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将文件中&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 1.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(ROUTE_M ==&amp;#39;admin&amp;#39; &amp;amp;&amp;amp; ROUTE_C ==&amp;#39;index&amp;#39; &amp;amp;&amp;amp; in_array(ROUTE_A, array(&amp;#39;login&amp;#39;, &amp;#39;public_card&amp;#39;))) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(ROUTE_M ==&amp;#39;admin&amp;#39; &amp;amp;&amp;amp; ROUTE_C ==&amp;#39;index&amp;#39; &amp;amp;&amp;amp; in_array(ROUTE_A, array(&amp;#39;新登录名&amp;#39;, &amp;#39;public_card&amp;#39;))) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 2.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!isset($_SESSION[&amp;#39;userid&amp;#39;]) || !isset($_SESSION[&amp;#39;roleid&amp;#39;]) || !$_SESSION[&amp;#39;userid&amp;#39;] || !$_SESSION[&amp;#39;roleid&amp;#39;] || $userid != $_SESSION[&amp;#39;userid&amp;#39;]) showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!isset($_SESSION[&amp;#39;userid&amp;#39;]) || !isset($_SESSION[&amp;#39;roleid&amp;#39;]) || !$_SESSION[&amp;#39;userid&amp;#39;] || !$_SESSION[&amp;#39;roleid&amp;#39;] || $userid != $_SESSION[&amp;#39;userid&amp;#39;]) showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;APP_PATH&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 3.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(ROUTE_M ==&amp;#39;admin&amp;#39; &amp;amp;&amp;amp; ROUTE_C ==&amp;#39;index&amp;#39; &amp;amp;&amp;amp; in_array(ROUTE_A, array(&amp;#39;login&amp;#39;, &amp;#39;init&amp;#39;, &amp;#39;public_card&amp;#39;))) return true;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(ROUTE_M ==&amp;#39;admin&amp;#39; &amp;amp;&amp;amp; ROUTE_C ==&amp;#39;index&amp;#39; &amp;amp;&amp;amp; in_array(ROUTE_A, array(&amp;#39;新登录名&amp;#39;, &amp;#39;init&amp;#39;, &amp;#39;public_card&amp;#39;))) return true;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 4.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/**&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 检查锁屏状态&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; final private function lock_screen() {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(isset($_SESSION[&amp;#39;lock_screen&amp;#39;]) &amp;amp;&amp;amp; $_SESSION[&amp;#39;lock_screen&amp;#39;]==1) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(preg_match(&amp;#39;/^public_/&amp;#39;, ROUTE_A) || (ROUTE_M == &amp;#39;content&amp;#39; &amp;amp;&amp;amp; ROUTE_C == &amp;#39;create_html&amp;#39;) || (ROUTE_M == &amp;#39;release&amp;#39;) || (ROUTE_A == &amp;#39;login&amp;#39;) || (ROUTE_M == &amp;#39;search&amp;#39; &amp;amp;&amp;amp; ROUTE_C == &amp;#39;search_admin&amp;#39; &amp;amp;&amp;amp; ROUTE_A==&amp;#39;createindex&amp;#39;)) return true;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 中的showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新登录名&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;步骤二：修改phpcms/modules/admin/classes/sites.class.php文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将文件中&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;no_site_permissions&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;no_site_permissions&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新登录名&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;步骤三：修改phpcms/modules/admin/templates/header.tpl.php文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将文件中&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!$this-&amp;gt;get_siteid()) showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!$this-&amp;gt;get_siteid()) showmessage(L(&amp;#39;admin_login&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;步骤四：修改phpcms/modules/admin/templates/login.tpl.php文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将文件中&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp;action=&amp;quot;index.php?m=admin&amp;amp;c=index&amp;amp;a=login&amp;amp;dosubmit=1&amp;quot; method=&amp;quot;post&amp;quot; name=&amp;quot;myform&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp;action=&amp;quot;index.php?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;amp;dosubmit=1&amp;quot; method=&amp;quot;post&amp;quot; name=&amp;quot;myform&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;步骤五：修改phpcms/modules/admin/index.php文件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;将文件中&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 1.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; public function login() {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; public function 新函数名() {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 2.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!$r) showmessage(L(&amp;#39;user_not_exist&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!$r) showmessage(L(&amp;#39;user_not_exist&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 3.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;password_error&amp;#39;,array(&amp;#39;times&amp;#39;=&amp;gt;$times)),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;,3000);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;password_error&amp;#39;,array(&amp;#39;times&amp;#39;=&amp;gt;$times)),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;#39;,3000);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 4.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!$r) showmessage(L(&amp;#39;user_not_exist&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!$r) showmessage(L(&amp;#39;user_not_exist&amp;#39;),&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 5.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; header(&amp;quot;location:?m=admin&amp;amp;c=index&amp;amp;a=login&amp;amp;dosubmit=1&amp;amp;card=1&amp;quot;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; header(&amp;quot;location:?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;amp;dosubmit=1&amp;amp;card=1&amp;quot;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 6.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;logout_success&amp;#39;).$phpsso_logout,&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=login&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; 改为&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp; showmessage(L(&amp;#39;logout_success&amp;#39;).$phpsso_logout,&amp;#39;?m=admin&amp;amp;c=index&amp;amp;a=新函数名&amp;#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;完成以上步骤后，您的Phpcms V9后台登录地址已成功修改。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;例如“新函数名”为“woaini”则登录地址为，https://www.liloufan.com/index.php?m=admin&amp;amp;c=index&amp;amp;a=woaini&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;此举显著提升了网站安全性，减少被攻击的风险。如果在操作中遇到问题，建议检查文件备份或参考Phpcms官方文档。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;附加建议：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;定期更新自定义登录地址，进一步增强安全性。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;结合其他安全措施，如强密码策略和IP访问限制，全面保护后台。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;本文摘自[找寻记忆]网站,原文链接“https://www.liloufan.com/jishu/2025/11/23241.html”转载请保留出处.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;本文摘自[找寻记忆]网站，www.liloufan.com.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;版权归原作者所有,转载请注明出处.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;原文链接：https://www.liloufan.com/jishu/2025/11/23241.html&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;采集时间：2026/4/21 15:11:55&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 21 Apr 2026 15:09:49 +0800</pubDate></item></channel></rss>