当前位置:首页 > 文章列表 > 文章 > php教程 > PHP查看PHPINFO方法详解

PHP查看PHPINFO方法详解

2026-05-01 23:58:41 0浏览 收藏
本文深入探讨了在PHP中如何准确判断phpinfo()是否已被成功执行并输出有效信息,指出仅靠函数返回值或代码存在性无法可靠检测,而最实用的方法是结合ob_start()捕获输出并匹配“PHP Version”“PHP Credits”等标志性内容,同时兼顾disable_functions配置检查、CLI模式差异及安全模块(如Suhosin)导致的敏感字段过滤问题,为开发者提供了一套兼顾鲁棒性、兼容性与安全意识的完整验证方案。

PHP怎样检测PHPINFO信息_PHP检测PHPINFO信息调用【查看】

怎么判断当前页面是否输出了 phpinfo() 内容

直接检测 phpinfo() 是否被调用过,PHP 本身不提供运行时钩子或状态标志。它只是立即输出 HTML 表格并返回 true(成功)或 false(失败),但不记录“是否已执行”。所以不能靠查变量或函数调用栈来反向确认——除非你主动拦截。

用 ob_start 拦截并检查 phpinfo() 输出内容

这是最可靠、实际可用的方法:把 phpinfo() 的输出捕获到缓冲区,再用字符串匹配判断是否真生成了标准信息表。注意必须在 phpinfo() 调用前开启输出缓冲。

  • 仅对当前请求有效,不影响其他脚本
  • 匹配 PHP Version

    PHP Credits

    等标志性 HTML 片段比匹配文字更稳定(避免语言/版本差异)
  • 若服务器禁用了 phpinfo()(如 disable_functions=phpinfo),调用会失败并触发警告,需配合 @ 抑制或 set_error_handler
ob_start();
@phpinfo();
$output = ob_get_clean();
if (strpos($output, 'PHP Version') !== false || strpos($output, '<h1>PHP Credits') !== false) {
    echo "phpinfo() 已执行且输出正常";
} else {
    echo "phpinfo() 未执行,或被禁用/出错";
}</pre>

<h3>检查 phpinfo() 是否被禁用(disable_functions)</h3>
<p>很多生产环境会通过 <code>php.ini</code> 的 <code>disable_functions</code> 关闭它。这时调用 <code>phpinfo()</code> 会返回 <code>false</code> 并抛出 <code>E_WARNING</code>。单纯看返回值不够,得结合配置检查。</p>
<ul><li>用 <code>ini_get('disable_functions')</code> 获取禁用函数列表,再用 <code>in_array('phpinfo', explode(',', ini_get('disable_functions')))</code> 判断</li>
<li>注意空格:<code>disable_functions = exec,passthru,phpinfo</code> 中的逗号后可能有空格,建议用 <code>array_map('trim', ...)</code> 处理</li>
<li><code>phpinfo()</code> 在 CLI 模式下默认不输出 HTML,而是纯文本,此时匹配逻辑要相应调整(比如搜 <code>"PHP Version"</code> 而非 HTML 标签)</li>
</ul><h3>为什么不能用 get_defined_functions() 或 debug_backtrace() 检测</h3>
<p>因为 <code>phpinfo()</code> 是语言内置函数,不是用户定义函数,不会出现在 <code>get_defined_functions()['internal']</code> 的“已调用”列表里;<code>debug_backtrace()</code> 只能查当前调用栈,无法回溯历史调用。</p>
<p>更关键的是:即使你在一个文件里写了 <code>phpinfo()</code>,它也可能被前面的 <code>exit</code>、<code>die</code>、异常或 <code>http_response_code(403)</code> 阻断——所以“代码存在”不等于“已执行”。真正有意义的检测,永远落在输出结果或系统配置层面。</p>
<p>最易被忽略的一点:某些安全加固模块(如 Suhosin、Hardened PHP)不仅禁用函数,还会在 <code>phpinfo()</code> 输出中自动过滤敏感字段(如 <code>$_SERVER</code>、扩展路径),此时内容虽存在,但关键信息已被裁剪——光看是否有输出还不够,得校验字段完整性。</p><p>今天关于《PHP查看PHPINFO方法详解》的内容就介绍到这里了,是不是学起来一目了然!想要了解更多关于的内容请关注golang学习网公众号!</p>                </div>
                <div class="labsList">
                                    </div>
                                <div class="cateBox">
                                        <div class="cateItem">
                        <a href="/article/584795.html" title="GolangGitHubActionsCI/CD配置详解" class="img_box">
                            <img src="/uploads/20260501/177765106869f4cd7c5199e.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="GolangGitHubActionsCI/CD配置详解">GolangGitHubActionsCI/CD配置详解                        </a>
                        <dl>
                            <dt class="lineOverflow"><a href="/article/584795.html"  title="GolangGitHubActionsCI/CD配置详解" class="aBlack">上一篇<i></i></a></dt>
                            <dd class="lineTwoOverflow">GolangGitHubActionsCI/CD配置详解</dd>
                        </dl>
                    </div>
                                        <div class="cateItem">
                        <a href="/article/584797.html"  title="PHP注释错误及避免技巧" class="img_box">
                            <img src="/uploads/20260501/177765118069f4cdec0980a.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="PHP注释错误及避免技巧">
                        </a>
                        <dl>
                            <dt class="lineOverflow"><a href="/article/584797.html"  class="aBlack" title="PHP注释错误及避免技巧">下一篇<i></i></a></dt>
                            <dd class="lineTwoOverflow">PHP注释错误及避免技巧</dd>
                        </dl>
                    </div>
                                    </div>
            </div>
        </div>
                <div class="leftContBox pt0">
            <div class="pdl20">
                <div class="contTit">
                    <a href="/articlelist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a>
                    <div class="tit">最新文章</div>
                </div>
            </div>
            <ul class="newArticleList">
                                <li>
                    <div class="contBox">
                        <a href="/article/619969.html" class="img_box" title="PHP 旧 MD5 密码如何平滑迁移到 password_hash:兼容登录与自动升级完整流程">
                            <img src="/uploads/20260615/1781513989-php-password-migration-flow.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP 旧 MD5 密码如何平滑迁移到 password_hash:兼容登录与自动升级完整流程">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  10小时前  |  

                                                                        <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/1659_new_0_1.html" class="aLightGray" title="MD5">MD5</a> ·
                                                                          <a href="/articletag/39810_new_0_1.html" class="aLightGray" title="登录安全">登录安全</a> ·
                                                                          <a href="/articletag/39891_new_0_1.html" class="aLightGray" title="password_hash">password_hash</a> ·
                                                                          <a href="/articletag/39892_new_0_1.html" class="aLightGray" title="password_verify">password_verify</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="password_hash">password_hash</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="password_verify">password_verify</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="登录安全">登录安全</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="PHP密码迁移">PHP密码迁移</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="MD5迁移">MD5迁移</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619969.html" class="aBlack" target="_blank" title="PHP 旧 MD5 密码如何平滑迁移到 password_hash:兼容登录与自动升级完整流程">PHP 旧 MD5 密码如何平滑迁移到 password_hash:兼容登录与自动升级完整流程</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>174浏览</span>
                                <span class="collectBtn user_collection" data-id="619969" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619951.html" class="img_box" title="PHP 接口返回 JSON 前多出空白怎么办:从现象复现到输出缓冲定位">
                            <img src="/uploads/20260615/1781490958-php-json-clean-output-flow.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP 接口返回 JSON 前多出空白怎么办:从现象复现到输出缓冲定位">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  16小时前  |  

                                                                        <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/39782_new_0_1.html" class="aLightGray" title="php教程">php教程</a> ·
                                                                          <a href="/articletag/39789_new_0_1.html" class="aLightGray" title="接口调试">接口调试</a> ·
                                                                          <a href="/articletag/39865_new_0_1.html" class="aLightGray" title="JSON接口">JSON接口</a> ·
                                                                          <a href="/articletag/39866_new_0_1.html" class="aLightGray" title="输出缓冲">输出缓冲</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="php">php</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="ob_start">ob_start</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="输出缓冲">输出缓冲</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="JSON接口">JSON接口</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="headers_sent">headers_sent</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="接口排查">接口排查</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619951.html" class="aBlack" target="_blank" title="PHP 接口返回 JSON 前多出空白怎么办:从现象复现到输出缓冲定位">PHP 接口返回 JSON 前多出空白怎么办:从现象复现到输出缓冲定位</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>422浏览</span>
                                <span class="collectBtn user_collection" data-id="619951" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619947.html" class="img_box" title="PHP Cookie 安全实战:HttpOnly、SameSite 和 Secure 这样配置">
                            <img src="/uploads/20260614/1781413008-php-cookie-guard-flow.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP Cookie 安全实战:HttpOnly、SameSite 和 Secure 这样配置">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  1天前  |  

                                                                        <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/4723_new_0_1.html" class="aLightGray" title="web安全">web安全</a> ·
                                                                          <a href="/articletag/39782_new_0_1.html" class="aLightGray" title="php教程">php教程</a> ·
                                                                          <a href="/articletag/39861_new_0_1.html" class="aLightGray" title="Cookie安全">Cookie安全</a> ·
                                                                          <a href="/articletag/39862_new_0_1.html" class="aLightGray" title="登录态">登录态</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="php">php</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="cookie">cookie</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="HttpOnly">HttpOnly</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="Secure">Secure</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="SameSite">SameSite</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="登录态安全">登录态安全</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619947.html" class="aBlack" target="_blank" title="PHP Cookie 安全实战:HttpOnly、SameSite 和 Secure 这样配置">PHP Cookie 安全实战:HttpOnly、SameSite 和 Secure 这样配置</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>420浏览</span>
                                <span class="collectBtn user_collection" data-id="619947" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619944.html" class="img_box" title="PHP CSRF 表单防护实战:令牌生成、提交校验和过期处理">
                            <img src="/uploads/20260614/1781407974-php-csrf-failure-checks.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP CSRF 表单防护实战:令牌生成、提交校验和过期处理">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  1天前  |  

                                                                        <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/4723_new_0_1.html" class="aLightGray" title="web安全">web安全</a> ·
                                                                          <a href="/articletag/39734_new_0_1.html" class="aLightGray" title="CSRF">CSRF</a> ·
                                                                          <a href="/articletag/39782_new_0_1.html" class="aLightGray" title="php教程">php教程</a> ·
                                                                          <a href="/articletag/39854_new_0_1.html" class="aLightGray" title="表单防护">表单防护</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="php">php</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="session">session</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="web安全">web安全</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="csrf">csrf</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="表单安全">表单安全</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="hash_equals">hash_equals</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619944.html" class="aBlack" target="_blank" title="PHP CSRF 表单防护实战:令牌生成、提交校验和过期处理">PHP CSRF 表单防护实战:令牌生成、提交校验和过期处理</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>306浏览</span>
                                <span class="collectBtn user_collection" data-id="619944" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619909.html" class="img_box" title="PHP Session 登录态安全实战:Cookie 参数、ID 轮换和过期清理">
                            <img src="/uploads/20260613/1781311287-php-session-flow.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP Session 登录态安全实战:Cookie 参数、ID 轮换和过期清理">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  2天前  |  

                                                                        <a href="/articletag/1200_new_0_1.html" class="aLightGray" title="Cookie">Cookie</a> ·
                                                                          <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/4365_new_0_1.html" class="aLightGray" title="session">session</a> ·
                                                                          <a href="/articletag/39745_new_0_1.html" class="aLightGray" title="后端开发">后端开发</a> ·
                                                                          <a href="/articletag/39810_new_0_1.html" class="aLightGray" title="登录安全">登录安全</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="PHP教程">PHP教程</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="Session安全">Session安全</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="登录态">登录态</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="Cookie参数">Cookie参数</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="会话过期">会话过期</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="登出清理">登出清理</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619909.html" class="aBlack" target="_blank" title="PHP Session 登录态安全实战:Cookie 参数、ID 轮换和过期清理">PHP Session 登录态安全实战:Cookie 参数、ID 轮换和过期清理</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>204浏览</span>
                                <span class="collectBtn user_collection" data-id="619909" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619879.html" class="img_box" title="PHP JSON 接口参数校验实战:统一入口、类型转换和错误响应">
                            <img src="/uploads/20260613/1781283647-php-validation-flow.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP JSON 接口参数校验实战:统一入口、类型转换和错误响应">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  3天前  |  

                                                                        <a href="/articletag/1223_new_0_1.html" class="aLightGray" title="参数校验">参数校验</a> ·
                                                                          <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/4653_new_0_1.html" class="aLightGray" title="后端">后端</a> ·
                                                                          <a href="/articletag/39784_new_0_1.html" class="aLightGray" title="接口开发">接口开发</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="php">php</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="API">API</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="类型转换">类型转换</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="参数校验">参数校验</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="错误响应">错误响应</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="JSON接口">JSON接口</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619879.html" class="aBlack" target="_blank" title="PHP JSON 接口参数校验实战:统一入口、类型转换和错误响应">PHP JSON 接口参数校验实战:统一入口、类型转换和错误响应</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>322浏览</span>
                                <span class="collectBtn user_collection" data-id="619879" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619876.html" class="img_box" title="PHP 文件上传安全实战:大小限制、MIME 检测和随机文件名">
                            <img src="/uploads/20260612/1781279196-php-upload-check-flow.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP 文件上传安全实战:大小限制、MIME 检测和随机文件名">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  3天前  |  

                                                                        <a href="/articletag/616_new_0_1.html" class="aLightGray" title="文件上传">文件上传</a> ·
                                                                          <a href="/articletag/1364_new_0_1.html" class="aLightGray" title="安全">安全</a> ·
                                                                          <a href="/articletag/39745_new_0_1.html" class="aLightGray" title="后端开发">后端开发</a> ·
                                                                          <a href="/articletag/39782_new_0_1.html" class="aLightGray" title="php教程">php教程</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="php">php</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="文件上传">文件上传</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="安全处理">安全处理</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="move_uploaded_file">move_uploaded_file</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="MIME">MIME</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="随机文件名">随机文件名</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619876.html" class="aBlack" target="_blank" title="PHP 文件上传安全实战:大小限制、MIME 检测和随机文件名">PHP 文件上传安全实战:大小限制、MIME 检测和随机文件名</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>439浏览</span>
                                <span class="collectBtn user_collection" data-id="619876" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619859.html" class="img_box" title="PHP 接口幂等提交实战:Redis Key + MySQL 唯一索引防重复下单">
                            <img src="/uploads/20260612/1781255935-php-idempotency-fallback.jpg" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP 接口幂等提交实战:Redis Key + MySQL 唯一索引防重复下单">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  3天前  |  

                                                                        <a href="/articletag/29_new_0_1.html" class="aLightGray" title="MySQL">MySQL</a> ·
                                                                          <a href="/articletag/220_new_0_1.html" class="aLightGray" title="Redis">Redis</a> ·
                                                                          <a href="/articletag/1433_new_0_1.html" class="aLightGray" title="PHP">PHP</a> ·
                                                                          <a href="/articletag/39770_new_0_1.html" class="aLightGray" title="接口设计">接口设计</a> ·
                                                                                   <a href="javascript:;" class="aLightGray" title="mysql">mysql</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="php">php</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="redis">redis</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="防重复提交">防重复提交</a>
                                                                                             <a href="javascript:;" class="aLightGray" title="接口幂等">接口幂等</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619859.html" class="aBlack" target="_blank" title="PHP 接口幂等提交实战:Redis Key + MySQL 唯一索引防重复下单">PHP 接口幂等提交实战:Redis Key + MySQL 唯一索引防重复下单</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>378浏览</span>
                                <span class="collectBtn user_collection" data-id="619859" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619685.html" class="img_box" title="PHPBase64解密方法与实战教程">
                            <img src="/uploads/20260601/17802911916a1d167708e7f.png" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHPBase64解密方法与实战教程">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  2星期前  |  

                                                                                 <a href="javascript:;" class="aLightGray" title="PHP字符串">PHP字符串</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619685.html" class="aBlack" target="_blank" title="PHPBase64解密方法与实战教程">PHPBase64解密方法与实战教程</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>291浏览</span>
                                <span class="collectBtn user_collection" data-id="619685" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619672.html" class="img_box" title="PHP移动端扫码数据接收与处理技巧">
                            <img src="/uploads/20260601/17802907096a1d149545b40.png" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHP移动端扫码数据接收与处理技巧">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  2星期前  |  

                                                  </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619672.html" class="aBlack" target="_blank" title="PHP移动端扫码数据接收与处理技巧">PHP移动端扫码数据接收与处理技巧</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>169浏览</span>
                                <span class="collectBtn user_collection" data-id="619672" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619664.html" class="img_box" title="PHPEnv解决Accessdenied报错教程">
                            <img src="/uploads/20260601/17802903976a1d135de22b0.jpg" onerror="this.src='/assets/images/moren/morentu.png'" alt="PHPEnv解决Accessdenied报错教程">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  2星期前  |  

                                                                                 <a href="javascript:;" class="aLightGray" title="phpenv">phpenv</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619664.html" class="aBlack" target="_blank" title="PHPEnv解决Accessdenied报错教程">PHPEnv解决Accessdenied报错教程</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>222浏览</span>
                                <span class="collectBtn user_collection" data-id="619664" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                                <li>
                    <div class="contBox">
                        <a href="/article/619648.html" class="img_box" title="Laravel并发任务日志记录方法">
                            <img src="/uploads/20260601/17802896796a1d108f3b160.png" onerror="this.src='/assets/images/moren/morentu.png'" alt="Laravel并发任务日志记录方法">
                        </a>
                        <dl>
                            <dd class="cont1">
                  <span>
                                                                <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> ·
                                                                            <a href="/articlelist/84_new_0_1.html" class="aLightGray" title="php教程">php教程</a>
                                                       |  2星期前  |  

                                                                                 <a href="javascript:;" class="aLightGray" title="Laravel">Laravel</a>
                                                              </span>
                            </dd>
                            <dt class="lineOverflow">
                                <a href="/article/619648.html" class="aBlack" target="_blank" title="Laravel并发任务日志记录方法">Laravel并发任务日志记录方法</a>
                            </dt>
                            <dd class="cont2">
                                <span><i class="view"></i>322浏览</span>
                                <span class="collectBtn user_collection" data-id="619648" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                            </dd>
                        </dl>
                    </div>
                </li>
                            </ul>
        </div>
    </div>
    <div class="mainRight">
        <!-- 右侧广告位banner -->
        <div class="rightContBox" style="margin-top: 0px;">
            <div class="rightTit">
                <a href="/courselist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a>
                <div class="tit lineOverflow">课程推荐</div>
            </div>
            <ul class="lessonRecomRList">
                                <li>
                    <a href="/course/9.html" class="img_box" target="_blank" title="前端进阶之JavaScript设计模式">
                        <img src="/uploads/20221222/52fd0f23a454c71029c2c72d206ed815.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="前端进阶之JavaScript设计模式">
                                            </a>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/course/9.html" target="_blank" class="aBlack" title="前端进阶之JavaScript设计模式">前端进阶之JavaScript设计模式</a></dt>
                        <dd class="cont1 lineTwoOverflow">
                            设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。                        </dd>
                        <dd class="cont2">543次学习</dd>
                    </dl>
                </li>
                                <li>
                    <a href="/course/2.html" class="img_box" target="_blank" title="GO语言核心编程课程">
                        <img src="/uploads/20221221/634ad7404159bfefc6a54a564d437b5f.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="GO语言核心编程课程">
                                            </a>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/course/2.html" target="_blank" class="aBlack" title="GO语言核心编程课程">GO语言核心编程课程</a></dt>
                        <dd class="cont1 lineTwoOverflow">
                            本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。                        </dd>
                        <dd class="cont2">516次学习</dd>
                    </dl>
                </li>
                                <li>
                    <a href="/course/74.html" class="img_box" target="_blank" title="简单聊聊mysql8与网络通信">
                        <img src="/uploads/20240103/bad35fe14edbd214bee16f88343ac57c.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="简单聊聊mysql8与网络通信">
                                            </a>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/course/74.html" target="_blank" class="aBlack" title="简单聊聊mysql8与网络通信">简单聊聊mysql8与网络通信</a></dt>
                        <dd class="cont1 lineTwoOverflow">
                            如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让                        </dd>
                        <dd class="cont2">500次学习</dd>
                    </dl>
                </li>
                                <li>
                    <a href="/course/57.html" class="img_box" target="_blank" title="JavaScript正则表达式基础与实战">
                        <img src="/uploads/20221226/bbe4083bb3cb0dd135fb02c31c3785fb.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="JavaScript正则表达式基础与实战">
                                            </a>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/course/57.html" target="_blank" class="aBlack" title="JavaScript正则表达式基础与实战">JavaScript正则表达式基础与实战</a></dt>
                        <dd class="cont1 lineTwoOverflow">
                            在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。                        </dd>
                        <dd class="cont2">487次学习</dd>
                    </dl>
                </li>
                                <li>
                    <a href="/course/28.html" class="img_box" target="_blank" title="从零制作响应式网站—Grid布局">
                        <img src="/uploads/20221223/ac110f88206daeab6c0cf38ebf5fe9ed.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="从零制作响应式网站—Grid布局">
                                            </a>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/course/28.html" target="_blank" class="aBlack" title="从零制作响应式网站—Grid布局">从零制作响应式网站—Grid布局</a></dt>
                        <dd class="cont1 lineTwoOverflow">
                            本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。                        </dd>
                        <dd class="cont2">485次学习</dd>
                    </dl>
                </li>
                            </ul>
        </div>
        <div class="rightContBox">
        <div class="rightTit">
            <a href="/ai.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a>
            <div class="tit lineOverflow">AI推荐</div>
        </div>
        <ul class="lessonRecomRList">
                        <li>
                <a href="/ai/13106.html"  target="_blank" title="剧云 - 免费 AI 智能中文剧本创作平台" class="img_box">
                    <img src="/uploads/ai/20260615/d36c7176-icon-2b0cd581ce.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="剧云 - 免费 AI 智能中文剧本创作平台" style="object-fit:cover;width:100%;height:100%;">
                </a>
                <dl>
                    <dt class="lineTwoOverflow"><a href="/ai/13106.html" class="aBlack" target="_blank" title="剧云">剧云</a></dt>
                    <dd class="cont1 lineTwoOverflow">
                        剧云是专业中文剧本创作平台,安全稳定运行十余年,集成AI编剧、剧本医生审核、人物小传、剧情关系图、大纲编写、多人协作、Word导入导出、版权管控功能,数据安全防护,轻松高效创作剧本。                    </dd>
                    <dd class="cont2">59次使用</dd>
                </dl>
            </li>
                        <li>
                <a href="/ai/13105.html"  target="_blank" title="万象有声 - AI 一站式有声内容创作平台" class="img_box">
                    <img src="/uploads/ai/20260615/50267bac-icon-c146b001b5.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="万象有声 - AI 一站式有声内容创作平台" style="object-fit:cover;width:100%;height:100%;">
                </a>
                <dl>
                    <dt class="lineTwoOverflow"><a href="/ai/13105.html" class="aBlack" target="_blank" title="万象有声">万象有声</a></dt>
                    <dd class="cont1 lineTwoOverflow">
                        万象有声,一个专为有声创作者打造的新一代智能有声内容创作平台。平台提供专业的智能拆章、智能画本编辑、AI配音、AI生成音效、后期制作、智能对轨、智能审听等有声创作全流程工具,可以帮助创作者高效、低成本创作出引人入胜的有声作品。立即体验,让有声书制作更简单!                    </dd>
                    <dd class="cont2">60次使用</dd>
                </dl>
            </li>
                        <li>
                <a href="/ai/13104.html"  target="_blank" title="Red Skill - 小红书推出的 AI Skill 分发平台" class="img_box">
                    <img src="/uploads/ai/20260615/red-skill-icon-8f32f63e1a.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="Red Skill - 小红书推出的 AI Skill 分发平台" style="object-fit:cover;width:100%;height:100%;">
                </a>
                <dl>
                    <dt class="lineTwoOverflow"><a href="/ai/13104.html" class="aBlack" target="_blank" title="Red Skill">Red Skill</a></dt>
                    <dd class="cont1 lineTwoOverflow">
                        小红书创作服务平台为小红书创作者和机构提供视频上传、数据分析、粉丝管理、创作指导等多项运营服务,助力用户解锁更多创作者专属功能,体验高效创作!                    </dd>
                    <dd class="cont2">63次使用</dd>
                </dl>
            </li>
                        <li>
                <a href="/ai/13103.html"  target="_blank" title="MiMo Code - 小米大模型团队开源的新一代 AI 编程助手" class="img_box">
                    <img src="/uploads/ai/20260615/mimo-code-icon-df61883944.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="MiMo Code - 小米大模型团队开源的新一代 AI 编程助手" style="object-fit:cover;width:100%;height:100%;">
                </a>
                <dl>
                    <dt class="lineTwoOverflow"><a href="/ai/13103.html" class="aBlack" target="_blank" title="MiMo Code">MiMo Code</a></dt>
                    <dd class="cont1 lineTwoOverflow">
                        MiMo Code 是小米大模型团队开源的新一代 AI 编程助手,面向开发者提供代码理解、生成与辅助开发能力,适合作为 AI 编程工具收藏和体验。                    </dd>
                    <dd class="cont2">160次使用</dd>
                </dl>
            </li>
                        <li>
                <a href="/ai/13102.html"  target="_blank" title="TRAE Work - 字节跳动推出的 AI 原生工作台" class="img_box">
                    <img src="/uploads/ai/20260615/trae-work-icon-14916d46a4.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="TRAE Work - 字节跳动推出的 AI 原生工作台" style="object-fit:cover;width:100%;height:100%;">
                </a>
                <dl>
                    <dt class="lineTwoOverflow"><a href="/ai/13102.html" class="aBlack" target="_blank" title="TRAE Work">TRAE Work</a></dt>
                    <dd class="cont1 lineTwoOverflow">
                        TRAE AI IDE | 国内首款 AI 原生集成开发环境,深度集成 Doubao-1.5-pro 与 DeepSeek 模型,支持中文自然语言一键生成完整代码框架,实时预览前端效果并智能修复 BUG。首创 Builder 模式实现需求到代码的自动化开发,兼容 Windows/macOS 系统,官网下载即用。                    </dd>
                    <dd class="cont2">184次使用</dd>
                </dl>
            </li>
                    </ul>
    </div>
        <!-- 相关文章 -->
        <div class="rightContBox">
            <div class="rightTit">
                <a href="/articlelist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a>
                <div class="tit lineOverflow">相关文章</div>
            </div>
            <ul class="aboutArticleRList">
                                <li>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/article/61908.html"  class="aBlack" title="PHP技术的高薪回报与发展前景">PHP技术的高薪回报与发展前景</a></dt>
                        <dd>
                            <span class="left">2023-10-08</span>
                            <span class="right">501浏览</span>
                        </dd>
                    </dl>
                </li>
                                <li>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/article/62538.html"  class="aBlack" title="基于 PHP 的商场优惠券系统开发中的常见问题解决方案">基于 PHP 的商场优惠券系统开发中的常见问题解决方案</a></dt>
                        <dd>
                            <span class="left">2023-10-05</span>
                            <span class="right">501浏览</span>
                        </dd>
                    </dl>
                </li>
                                <li>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/article/62741.html"  class="aBlack" title="如何使用PHP开发简单的在线支付功能">如何使用PHP开发简单的在线支付功能</a></dt>
                        <dd>
                            <span class="left">2023-09-27</span>
                            <span class="right">501浏览</span>
                        </dd>
                    </dl>
                </li>
                                <li>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/article/62881.html"  class="aBlack" title="PHP消息队列开发指南:实现分布式缓存刷新器">PHP消息队列开发指南:实现分布式缓存刷新器</a></dt>
                        <dd>
                            <span class="left">2023-09-30</span>
                            <span class="right">501浏览</span>
                        </dd>
                    </dl>
                </li>
                                <li>
                    <dl>
                        <dt class="lineTwoOverflow"><a href="/article/63734.html"  class="aBlack" title="如何在PHP微服务中实现分布式任务分配和调度">如何在PHP微服务中实现分布式任务分配和调度</a></dt>
                        <dd>
                            <span class="left">2023-10-04</span>
                            <span class="right">501浏览</span>
                        </dd>
                    </dl>
                </li>
                            </ul>
        </div>
    </div>
</div>
<div class="footer">
    <div class="footerIn">
        <div class="footLeft">
            <div class="linkBox">
                <a href="/about/1.html"  target="_blank" class="aBlack" title="关于我们">关于我们</a>
                <a href="/about/5.html" target="_blank" class="aBlack" title="免责声明">免责声明</a>
                <a href="#" class="aBlack"  title="意见反馈">意见反馈</a>
                <a href="/about/2.html" class="aBlack" target="_blank" title="联系我们">联系我们</a>
                <a href="/send.html" class="aBlack"  title="广告合作">内容提交</a>
                 <a href="/manual/go/" target="_blank" class="aBlack" title="手册">手册</a>
            </div>
            <div class="footTip">Golang学习网:公益在线Go学习平台,帮助Go学习者快速成长!</div>
            <div class="shareBox">
                <span><i class="qq"></i>技术交流群</span>
            </div>
            <div class="copyRight">
                Copyright 2023 http://www.17golang.com/ All Rights Reserved | <a href="https://beian.miit.gov.cn/" target="_blank" title="备案">苏ICP备2023003363号-1</a>
            </div>
        </div>
        <div class="footRight">
            <ul class="encodeList">
                
                <li>
                    <div class="encodeImg">
                        <img src="/assets/examples/qrcode_for_gh.jpg" alt="Golang学习网">
                    </div>
                    <div class="tit">关注公众号</div>
                    <div class="tip">Golang学习网</div>
                </li>
                <div class="clear"></div>
            </ul>
        </div>
        <div class="clear"></div>
    </div>
</div>
<!-- 微信登录弹窗 -->
<style>
 .popupBg .n-error{
  color: red;
 }
  </style>
<div class="popupBg">
    <div class="loginBoxBox">
      <div class="imgbg">
        <img src="/assets/images/leftlogo.jpg" alt="">
      </div>
      <!-- 微信登录 -->
      <div class="loginInfo encodeLogin" style="display: none;">
        <div class="closeIcon" onclick="$('.popupBg').hide();"></div>
        <div class="changeLoginType cursorPointer create_wxqrcode" onclick="$('.loginInfo').hide();$('.passwordLogin').show();">
          <div class="tip">密码登录在这里</div>
        </div>
        <div class="encodeInfo">
          <div class="tit"><i></i> 微信扫码登录或注册</div>
          <div class="encodeImg">
            <span id="wx_login_qrcode"><img src="/assets/examples/code.png"  alt="二维码"></span>
            <!-- <div class="refreshBox">
              <p>二维码失效</p>
              <button type="button" class="create_wxqrcode">刷新1111</button>
            </div> -->
          </div>
          <div class="tip">打开微信扫一扫,快速登录/注册</div>
        </div>
        <div class="beforeLoginTip">登录即同意 <a href="#" class="aBlue" title="用户协议">用户协议</a> 和 <a href="#" class="aBlue" title="隐私政策">隐私政策</a></div>
      </div>
      <!-- 密码登录 -->
      <div class="loginInfo passwordLogin">
        <div class="closeIcon" onclick="$('.popupBg').hide();"></div>
        <div class="changeLoginType cursorPointer create_wxqrcode" onclick="$('.loginInfo').hide();$('.encodeLogin').show();">
          <div class="tip">微信登录更方便</div>
        </div>
        <div class="passwordInfo">
          <ul class="logintabs selfTabMenu">
            <li class="selfTabItem loginFormLi curr">密码登录</li> 
            <li class="selfTabItem registerFormBox ">注册账号</li>
          </ul>
          <div class="selfTabContBox">
            <div class="selfTabCont loginFormBox" style="display: block;">
              <form name="form" id="login-form" class="form-vertical form" method="POST" action="/index/user/login">
                <input type="hidden" name="url" value="//17golang.com/article/584796.html"/>
                <input type="hidden" name="__token__" value="239888b95a76783827f28d3c22c11cb3" />                <div class="form-group" style="height:70px;">
                  <input class="form-control" id="account" type="text" name="account" value="" data-rule="required" placeholder="邮箱/用户名" autocomplete="off">
                </div>
                <div class="form-group" style="height:70px;">
                  <input class="form-control" id="password" type="password" name="password" data-rule="required;password" placeholder="密码" autocomplete="off">
                </div>
                <div class="codeBox" style="height:70px;">
                  <div class="form-group" style="height:70px; width:205px; float: left;">
                    <input type="text" name="captcha" class="form-control" placeholder="验证码" data-rule="required;length(4)" />
                  </div>
                <span class="input-group-btn" style="padding:0;border:none;">
                    <img src="/captcha.html" width="100" height="45" onclick="this.src = '/captcha.html?r=' + Math.random();"/>
                </span>
              </div>
                <div class="other">
                  <a href="#" class="forgetPwd aGray" onclick="$('.loginInfo').hide();$('.passwordForget').show();" title="忘记密码">忘记密码</a>
                </div>
                <div class="loginBtn mt25">
                  <button type="submit">登录</button>
                </div>
              </form>
            </div>
            <div class="selfTabCont registerFormBox" style="display: none;">
                <form name="form1" id="register-form" class="form-vertical form" method="POST" action="/index/user/register">
                <input type="hidden" name="invite_user_id" value="0"/>
                <input type="hidden" name="url" value="//17golang.com/article/584796.html"/>
                <input type="hidden" name="__token__" value="239888b95a76783827f28d3c22c11cb3" />                <div class="form-group" style="height:70px;">
                <input type="text" name="email" id="email2" data-rule="required;email" class="form-control" placeholder="邮箱">
              </div>
                <div class="form-group" style="height:70px;">
                <input type="text" id="username" name="username" data-rule="required;username" class="form-control" placeholder="用户名必须3-30个字符">
                </div>
                <div class="form-group" style="height:70px;">
                <input type="password" id="password2" name="password" data-rule="required;password" class="form-control" placeholder="密码必须6-30个字符">
              </div>
                <div class="codeBox" style="height:70px;">
                  <div class="form-group" style="height:70px; width:205px; float: left;">
                    <input type="text" name="captcha" class="form-control"  placeholder="验证码" data-rule="required;length(4)" />
                  </div>
                <span class="input-group-btn" style="padding:0;border:none;">
                    <img src="/captcha.html" width="100" height="45" onclick="this.src = '/captcha.html?r=' + Math.random();"/>
                </span>
              </div>
               
                <div class="loginBtn">
                  <button type="submit">注册</button>
                </div>
              </form>
            </div>
          </div>
        </div>
        <div class="beforeLoginTip">登录即同意 <a href="https://www.17golang.com/about/3.html" target="_blank" class="aBlue" title="用户协议">用户协议</a> 和 <a href="https://www.17golang.com/about/4.html" target="_blank" class="aBlue" title="隐私政策">隐私政策</a></div>
      </div>
		<!-- 重置密码 -->
		<div class="loginInfo passwordForget">
			<div class="closeIcon" onclick="$('.popupBg').hide();"></div>
			<div class="returnLogin cursorPointer" onclick="$('.passwordForget').hide();$('.passwordLogin').show();">返回登录</div>
			<div class="passwordInfo">
			<ul class="logintabs selfTabMenu">
				<li class="selfTabItem">重置密码</li>
			</ul>
			<div class="selfTabContBox">
				<div class="selfTabCont">
				<form id="resetpwd-form" class="form-horizontal form-layer nice-validator n-default n-bootstrap form" method="POST" action="/api/user/resetpwd.html" novalidate="novalidate">
          <div style="height:70px;">
          <input type="text" class="form-control" id="email" name="email" value="" placeholder="输入邮箱" aria-invalid="true">
        </div>
					
          <div class="codeBox" style="height:70px;">
            <div class="form-group" style="height:70px; width:205px; float: left;">
              <input type="text" name="captcha" class="form-control"  placeholder="验证码" />
            </div>
            <span class="input-group-btn" style="padding:0;border:none;">
                <a href="javascript:;" class="btn btn-primary btn-captcha cursorPointer" style="background: #2080F8; border-radius: 4px; color: #fff; padding: 12px;
                position: absolute;" data-url="/api/ems/send.html" data-type="email" data-event="resetpwd">发送验证码</a>
            </span>
        </div>

					 <input type="password" class="form-control" id="newpassword" name="newpassword" value="" placeholder="请输入6-18位密码">
			

					<div class="loginBtn mt25">
					<button type="submit">重置密码</button>
					</div>
				</form>
				</div>
			</div>
			</div>
		</div>
    </div>
  </div>


<script src="/assets/js/juejin-theme.js?v=20260613b" defer></script>
    <script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?3dc5666f6478c7bf39cd5c91e597423d";
        hm.async = true;
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
    </script>

<script src="/assets/js/frontend/common.js"></script>
</body>
</html>