返回顶部
首页 > 资讯 > 后端开发 > PHP编程 >php如何读取文件夹下所有网页标题
  • 539
分享到

php如何读取文件夹下所有网页标题

php 2023-09-15 05:09:02 539人浏览 独家记忆
摘要

要读取文件夹下所有网页标题,可以使用以下步骤:1. 使用 PHP 的 `glob()` 函数获取文件夹中的所有网页文件。例如,假设网

要读取文件夹下所有网页标题,可以使用以下步骤:
1. 使用 PHP 的 `glob()` 函数获取文件夹中的所有网页文件。例如,假设网页文件都是以 `.html` 或 `.htm` 结尾的,可以使用以下代码获取文件列表:
```php
$files = glob('path/to/folder/*.html');
$files += glob('path/to/folder/*.htm');
```
2. 使用循环遍历文件列表,逐个打开网页文件,并使用正则表达式获取标题内容。可以使用 `file_get_contents()` 函数读取文件内容,然后使用正则表达式提取标题。
```php
foreach ($files as $file) {
$html = file_get_contents($file);
preg_match("/(.*?)<\/title>/i", $html, $matches);<br>$title = $matches[1];<br>echo $title;<br>}<br>```<br>注意:这里的正则表达式仅适用于简单的网页,如果网页结构复杂,可能需要更复杂的表达式来匹配标题。同时,这种方法只能获取每个文件的第一个标题,如果一个网页文件中有多个标题,可能需要进行进一步的处理。</p><p> </p> </div> </div> <div class="art_xg"> <b>您可能感兴趣的文档:</b> <ul> <li><a href="/courses/3.html" title="Elasticsearch-PHP 中文文档" target="_blank">Elasticsearch-PHP 中文文档</a></li> <li><a href="/courses/9.html" title="PHP 内核与原生扩展开发" target="_blank">PHP 内核与原生扩展开发</a></li> <li><a href="/courses/10.html" title="Composer 中文文档" target="_blank">Composer 中文文档</a></li> </ul> </div> <div class="foart"> <p style="text-align: CENTER;COLOR: #999999;font-size: 13px;">--结束END--</p> <p style="text-align: CENTER;COLOR: #999999;font-size: 13px;"> 本文标题: php如何读取文件夹下所有网页标题</p> <p style="text-align: CENTER;COLOR: #999999;font-size: 13px;"> 本文链接: https://lsjlt.com/news/407970.html(转载时请注明来源链接)</p> <p style="text-align: CENTER;COLOR: #999999;font-size: 13px;">有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341</p> </div> </div> </div> </div> <div class="nex_neirong_c"> <div class="nex_index_sd_title"> <span>猜你喜欢</span> <div class="clear"></div> </div> <div class="nex_Info_artices"> <ul> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="407970.html" title="" target="_blank">php如何读取文件夹下所有网页标题</a></h5> <div class="nex_png_summary"> 要读取文件夹下所有网页标题,可以使用以下步骤:1. 使用 PHP 的 `glob()` 函数获取文件夹中的所有网页文件。例如,假设网... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-09-15</dd> <dd class="nex_article_catname"> <a href="/tag/php/" title="php" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">php</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="570713.html" title="" target="_blank">python如何读取文件夹下所有文件</a></h5> <div class="nex_png_summary"> 你可以使用os模块的listdir函数列出文件夹下的所有文件,然后使用循环逐个读取文件。 以下是一个示例代码: import os ... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2024-02-29</dd> <dd class="nex_article_catname"> <a href="/tag/python/" title="python" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">python</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="412531.html" title="" target="_blank">kettle怎么读取文件夹下所有文件</a></h5> <div class="nex_png_summary"> 要读取文件夹下的所有文件,可以使用python中的os模块和os.walk()函数来实现。以下是一个示例代码:```pythonim... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-09-20</dd> <dd class="nex_article_catname"> <a href="/tag/kettle/" title="kettle" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">kettle</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="597737.html" title="" target="_blank">java怎么读取文件夹下所有文件</a></h5> <div class="nex_png_summary"> 在Java中可以使用File类的listFiles()方法来读取文件夹下的所有文件。以下是一个示例代码: import java.i... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2024-04-08</dd> <dd class="nex_article_catname"> <a href="/tag/java/" title="java" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">java</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="426732.html" title="" target="_blank">mfc如何获取文件夹下所有文件名</a></h5> <div class="nex_png_summary"> MFC中可以使用CFileFind类来获取文件夹下的所有文件名。下面是一个示例代码:```cppCFileFind finder;C... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-10-10</dd> <dd class="nex_article_catname"> <a href="/tag/mfc/" title="mfc" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">mfc</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="597886.html" title="" target="_blank">lua如何获取文件夹下所有文件名</a></h5> <div class="nex_png_summary"> 可以使用Lua的标准库中的io和lfs模块来获取文件夹下的所有文件名。下面是一个示例代码: local lfs = require(... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2024-04-08</dd> <dd class="nex_article_catname"> <a href="/tag/lua/" title="lua" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">lua</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="370755.html" title="" target="_blank">php怎么获取文件夹下所有文件名</a></h5> <div class="nex_png_summary"> 要获取文件夹下所有文件名,可以使用PHP的`scandir()`函数。`scandir()`函数返回一个包含文件和文件夹名的数组。可... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-08-15</dd> <dd class="nex_article_catname"> <a href="/tag/php/" title="php" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">php</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="122800.html" title="" target="_blank">Python读取文件夹下的所有文件实例代码</a></h5> <div class="nex_png_summary"> Python读取文件夹下的所有文件  os.listdir(path)是得到在path路径下所以文件的名称列表。      open... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2024-04-02</dd> <dd class="nex_article_catname"> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="570223.html" title="" target="_blank">c语言怎么读取文件夹下的所有文件</a></h5> <div class="nex_png_summary"> 在C语言中,可以使用opendir函数打开一个文件夹,然后使用readdir函数读取文件夹中的文件。 以下是一个示例代码: #inc... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2024-02-29</dd> <dd class="nex_article_catname"> <a href="/tag/c语言/" title="c语言" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">c语言</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="385015.html" title="" target="_blank">Python 获取文件夹下所有文件</a></h5> <div class="nex_png_summary"> 前言 使用Python获取文件夹下的所有文件时,存在多种方式。 1. os.listdir os.listdir:参数为文件夹路径,可以返回文件夹下的所有子文件夹、文件名称。 示例: import ... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-08-31</dd> <dd class="nex_article_catname"> <a href="/tag/python/" title="python" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">python</a> <a href="/tag/开发语言/" title="开发语言" class="ren-summary-tag" style="color: #fff!important;background-color: #9961dd;">开发语言</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="585679.html" title="" target="_blank">java如何获取文件夹下的所有文件名</a></h5> <div class="nex_png_summary"> 可以使用Java的File类来获取文件夹下的所有文件名。以下是一个示例代码: import java.io.File; publi... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2024-04-02</dd> <dd class="nex_article_catname"> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="369323.html" title="" target="_blank">qt怎么获取文件夹下所有文件夹</a></h5> <div class="nex_png_summary"> 要获取一个文件夹下的所有文件夹,可以使用QDir类。下面是一种可能的方法:```cpp#include #include void ... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-08-12</dd> <dd class="nex_article_catname"> <a href="/tag/qt/" title="qt" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">qt</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="425152.html" title="" target="_blank">php怎么读取目录下所有文件</a></h5> <div class="nex_png_summary"> 在PHP中,可以使用`opendir()`函数打开一个目录,然后使用`readdir()`函数遍历目录中的所有文件。可以使用一个循环... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-10-08</dd> <dd class="nex_article_catname"> <a href="/tag/php/" title="php" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">php</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="385827.html" title="" target="_blank">java获取文件夹下所有文件名</a></h5> <div class="nex_png_summary">   在进行 Java编程的过程中,我们会经常使用到文件夹下的所有文件名。有时候可能不太熟悉 Java编程的小伙伴们会发现,在代码中没有获取到所有的文件名,那么这个时候我们应该怎么去获取到这些文件呢?在进行 Java编程的过程中,我们会经常... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-08-31</dd> <dd class="nex_article_catname"> <a href="/tag/java/" title="java" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">java</a> <a href="/tag/数据库/" title="数据库" class="ren-summary-tag" style="color: #fff!important;background-color: #9961dd;">数据库</a> <a href="/tag/开发语言/" title="开发语言" class="ren-summary-tag" style="color: #fff!important;background-color: #b1c248;">开发语言</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="418746.html" title="" target="_blank">如何用php提取网页所有文字</a></h5> <div class="nex_png_summary"> 要使用PHP提取网页上的所有文字,可以使用PHP的DOMDocument和XPath库来解析HTML页面并提取文本内容。以下是一个示... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-09-26</dd> <dd class="nex_article_catname"> <a href="/tag/php/" title="php" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">php</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="408876.html" title="" target="_blank">ubuntu如何删除文件夹下所有文件</a></h5> <div class="nex_png_summary"> 要删除Ubuntu中文件夹下的所有文件,可以使用以下命令:1. 打开终端。2. 使用cd命令进入要删除文件的文件夹所在的目录。例如,... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-09-15</dd> <dd class="nex_article_catname"> <a href="/tag/ubuntu/" title="ubuntu" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">ubuntu</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="376109.html" title="" target="_blank">centos如何删除文件夹下所有文件</a></h5> <div class="nex_png_summary"> 要删除CentOS上文件夹下的所有文件,您可以使用以下命令:1. 使用`cd`命令进入要删除文件的文件夹:```cd /path/t... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-08-20</dd> <dd class="nex_article_catname"> <a href="/tag/centos/" title="centos" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">centos</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="253587.html" title="" target="_blank">VBS如何批量读取文件夹内所有的文本到Excel</a></h5> <div class="nex_png_summary">这篇文章主要介绍VBS如何批量读取文件夹内所有的文本到Excel,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!代码如下:'This code is done by KangKang@ Option expli... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-06-08</dd> <dd class="nex_article_catname"> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="424798.html" title="" target="_blank">python如何获取文件夹内所有文件名</a></h5> <div class="nex_png_summary"> 要获取文件夹内所有文件名,可以使用Python内置的os模块和os.listdir()函数。下面是一个示例代码:```pythoni... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-10-07</dd> <dd class="nex_article_catname"> <a href="/tag/python/" title="python" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">python</a> </dd> <div class="clear"></div> </dl> </div> </li> <li> <div class="nex_article_bd_mid"> <div class="nex_article_bd_mid_l" style="width: 100%;"> <h5><a href="225552.html" title="" target="_blank">利用Java如何实现获取文件夹下所有文件名称</a></h5> <div class="nex_png_summary">今天就跟大家聊聊有关利用Java如何实现获取文件夹下所有文件名称,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。具体如下:import java.io.File;public clas... </div> </div> <div class="clear"></div> </div> <div class="nex_article_bd_btm"> <dl> <dd class="nex_article_views">99+</dd> <dd>2023-05-31</dd> <dd class="nex_article_catname"> <a href="/tag/java/" title="java" class="ren-summary-tag" style="color: #fff!important;background-color: #958ef2;">java</a> <a href="/tag/ava/" title="ava" class="ren-summary-tag" style="color: #fff!important;background-color: #9961dd;">ava</a> </dd> <div class="clear"></div> </dl> </div> </li> </ul> </div> </div> </div> <div class="nex_ART_content_r"> <!--广告位--> <div class="nex_right_grids nex_plugin_grids"> <div class="nex_index_sd_title"> <span>软考高级职称资格查询</span> <div class="clear"></div> </div> <a lay-on="showLoginPopup" href="javascript:void(0);" class="seo_bk_com"></a> </div> <div class="pic_ad"> </div> <div class="nex_right_grids nex_plugin_grids"> <div class="nex_index_sd_title"> <span>热门wiki</span> <div class="clear"></div> </div> <div class="nex_recom_reading_list"> <ul> <div id="nex_recom_reading_list122"> <div id="frameB500mO" class="frame move-span cl frame-1"> <div id="frameB500mO_left" class="column frame-1-c"> <div id="portal_block_580" class="block move-span"> <div id="portal_block_580_content" class="dxb_bc"> <li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/1dae00eca8.html" target="_blank" title="mysql删除数据恢复">mysql删除数据恢复</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/90fb1d689c.html" target="_blank" title="mysql删表能回滚吗">mysql删表能回滚吗</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/41f48e39f4.html" target="_blank" title="mysql找回删除的表">mysql找回删除的表</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/95b479cd93.html" target="_blank" title="mysql不小心删除了表">mysql不小心删除了表</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/7d1d3ffca2.html" target="_blank" title="mysql不小心把表删了怎么恢复数据">mysql不小心把表删了怎么恢复数据</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/3d1abe458d.html" target="_blank" title="mysql数据表删除后能恢复么">mysql数据表删除后能恢复么</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/fbf87a998d.html" target="_blank" title="mysql误删表数据恢复">mysql误删表数据恢复</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/13939eb495.html" target="_blank" title="mysql误删表恢复">mysql误删表恢复</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/e12fe35b9b.html" target="_blank" title="mysql删除表怎么恢复">mysql删除表怎么恢复</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/wiki/d4421165ca.html" target="_blank" title="mysql删除表">mysql删除表</a></div> </li></div> </div> </div> </div> </div> </ul> </div> </div> <!--近期文章--> <div class="nex_right_grids nex_plugin_grids"> <div class="nex_index_sd_title"> <span>近期文章</span> <div class="clear"></div> </div> <div class="nex_recom_reading_list"> <ul> <div id="nex_recom_reading_list122"> <div id="frameB500mO" class="frame move-span cl frame-1"> <div id="frameB500mO_left" class="column frame-1-c"> <div id="portal_block_580" class="block move-span"> <div id="portal_block_580_content" class="dxb_bc"> <li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/623818.html" target="_blank" title="【PHP小课堂】PHP中的数组函数学习(三)">【PHP小课堂】PHP中的数组函数学习(三)</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/620972.html" target="_blank" title="LaravelORM+协程在Webman中的应用">LaravelORM+协程在Webman中的应用</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/597211.html" target="_blank" title="2024最新Consul集群搭建看这篇就够了">2024最新Consul集群搭建看这篇就够了</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594893.html" target="_blank" title="php如何实现高并发">php如何实现高并发</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594565.html" target="_blank" title="PHP XSS防御:构建坚固的网络安全基础">PHP XSS防御:构建坚固的网络安全基础</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594564.html" target="_blank" title="PHP XSS防范:确保你的网站安全可靠">PHP XSS防范:确保你的网站安全可靠</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594563.html" target="_blank" title="PHP XSS预防措施:保护你的网站免受恶意攻击">PHP XSS预防措施:保护你的网站免受恶意攻击</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594562.html" target="_blank" title="PHP XSS防护:网络安全的关键">PHP XSS防护:网络安全的关键</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594561.html" target="_blank" title="PHP XSS防御:保护你的网站免受黑客入侵">PHP XSS防御:保护你的网站免受黑客入侵</a></div> </li><li> <div class="nex_article_current"><a href="https://www.lsjlt.com/news/594560.html" target="_blank" title="PHP XSS防范:建立牢不可破的网络安全">PHP XSS防范:建立牢不可破的网络安全</a></div> </li></div> </div> </div> </div> </div> </ul> </div> </div> <!--推荐阅读--> <div class="nex_right_grids"> <div class="nex_index_sd_title"> <span>推荐阅读</span> <div class="clear"></div> </div> <div class="nex_recom_reading_list"> <ul> <div id="nex_recom_reading_list"> <div id="frameMcfpX9" class="frame move-span cl frame-1"> <div id="frameMcfpX9_left" class="column frame-1-c"> <div id="portal_block_575" class="block move-span"> <div id="portal_block_575_content" class="dxb_bc"> <li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/571058.html" title="php变量作用域是什么" target="_blank">php变量作用域是什么</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/571058.html" target="_blank" title="php变量作用域是什么" style="background:url(https://www.lsjlt.com/static/imgs/54.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570646.html" title="PHP isset按钮不起作用怎么解决" target="_blank">PHP isset按钮不起作用怎么解决</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570646.html" target="_blank" title="PHP isset按钮不起作用怎么解决" style="background:url(https://www.lsjlt.com/static/imgs/18.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570627.html" title="php中target标签怎么使用" target="_blank">php中target标签怎么使用</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570627.html" target="_blank" title="php中target标签怎么使用" style="background:url(https://www.lsjlt.com/static/imgs/16.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570526.html" title="php怎么获取网页内容" target="_blank">php怎么获取网页内容</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570526.html" target="_blank" title="php怎么获取网页内容" style="background:url(https://www.lsjlt.com/static/imgs/4.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570493.html" title="php怎么实现批量发送邮件" target="_blank">php怎么实现批量发送邮件</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570493.html" target="_blank" title="php怎么实现批量发送邮件" style="background:url(https://www.lsjlt.com/static/imgs/40.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570181.html" title="PHP方法参数传递及返回值详解" target="_blank">PHP方法参数传递及返回值详解</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570181.html" target="_blank" title="PHP方法参数传递及返回值详解" style="background:url(https://www.lsjlt.com/static/imgs/17.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570062.html" title="PHP7下载PDF文件失败的解决方法" target="_blank">PHP7下载PDF文件失败的解决方法</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570062.html" target="_blank" title="PHP7下载PDF文件失败的解决方法" style="background:url(https://www.lsjlt.com/static/imgs/19.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570026.html" title="最佳在线PHP编辑器:快速创建文件" target="_blank">最佳在线PHP编辑器:快速创建文件</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570026.html" target="_blank" title="最佳在线PHP编辑器:快速创建文件" style="background:url(https://www.lsjlt.com/static/imgs/22.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/570013.html" title="解决PHP数据库中爱好无法显示的问题" target="_blank">解决PHP数据库中爱好无法显示的问题</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/570013.html" target="_blank" title="解决PHP数据库中爱好无法显示的问题" style="background:url(https://www.lsjlt.com/static/imgs/10.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li><li> <div class="nex_rrl_intel"> <h5><a href="https://www.lsjlt.com/news/569910.html" title="PHP验证码复制粘贴问题解决方法分享" target="_blank">PHP验证码复制粘贴问题解决方法分享</a> </h5> <p>2024-02-29</p> </div> <div class="nex_rrl_img"> <a href="https://www.lsjlt.com/news/569910.html" target="_blank" title="PHP验证码复制粘贴问题解决方法分享" style="background:url(https://www.lsjlt.com/static/imgs/54.jpg) center no-repeat; background-size:cover;"></a> </div> <div class="clear"></div> </li></div> </div> </div> </div> </div> </ul> </div> </div> <!--热门问答--> <div class="nex_right_grids"> <div class="nex_index_sd_title"> <span>热门问答</span> <div class="clear"></div> </div> <div class="nex_recom_reading_list"> <ul> <div id="nex_recom_reading_list1"> <div id="framefe7ykY" class="frame move-span cl frame-1"> <div id="framefe7ykY_left" class="column frame-1-c"> <div id="framefe7ykY_left_temp" class="move-span temp"></div> <div id="portal_block_579" class="block move-span"> <div id="portal_block_579_content" class="dxb_bc"> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/101ad.html" target="_blank" title="如何调试操作系统的错误?">如何调试操作系统的错误?</a><br>操作系统</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/c541b.html" target="_blank" title="操作系统中的I/O系统是如何实现的?">操作系统中的I/O系统是如何实现的?</a><br>操作系统</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/d3656.html" target="_blank" title="如何实现操作系统的内存管理?">如何实现操作系统的内存管理?</a><br>操作系统</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/b9b36.html" target="_blank" title="什么是虚拟内存,它对操作系统有什么影响?">什么是虚拟内存,它对操作系统有什么影响?</a><br>操作系统</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/80ee6.html" target="_blank" title="ASP中的MVC架构和WebForms架构有什么区别和使用场景?">ASP中的MVC架构和WebForms架构有什么区别和使用场景?</a><br>ASP.NET</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/a99c1.html" target="_blank" title="ASP中的数据验证和数据校验有什么不同?">ASP中的数据验证和数据校验有什么不同?</a><br>ASP.NET</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/27db3.html" target="_blank" title="ASP中的ADO对象和DAO对象有什么区别和使用方法?">ASP中的ADO对象和DAO对象有什么区别和使用方法?</a><br>ASP.NET</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/200a1.html" target="_blank" title="Node.js中的包管理器NPM是什么?如何使用它进行依赖管理?">Node.js中的包管理器NPM是什么?如何使用它进行依赖管理?</a><br>node.js</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/14d37.html" target="_blank" title="Vue.js中的动态组件是什么?如何使用它来动态渲染组件?">Vue.js中的动态组件是什么?如何使用它来动态渲染组件?</a><br>VUE</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> <li> <div class="nex_art_qna_top"> <div class="nex_art_qna_top_l"> <em>1</em> <p>回答</p> </div> <div class="nex_art_qna_top_r"><a href="https://www.lsjlt.com/ask/31720.html" target="_blank" title="如何使用Vue.js实现懒加载和预加载?">如何使用Vue.js实现懒加载和预加载?</a><br>VUE</div> <div class="clear"></div> </div> <div class="nex_art_qna_btm"> <span></span> <em>2023-11-15发布</em> <div class="clear"></div> </div> </li> </div> </div> </div> </div> </div> </ul> </div> </div> <div class="nex_right_grids"> <div class="nex_index_sd_title"> <span>热门标签</span> <div class="clear"></div> </div> <div class="nex_recom_reading_list"> <ul class="tagarr"> <li> <a href="/tag/Python操作PostgreSQL/" title="Python操作PostgreSQL" target="_blank">Python操作PostgreSQL</a> <a href="/tag/Python连接PostgreSQL/" title="Python连接PostgreSQL" target="_blank">Python连接PostgreSQL</a> <a href="/tag/Python连接和操作PostgreSQL/" title="Python连接和操作PostgreSQL" target="_blank">Python连接和操作PostgreSQL</a> <a href="/tag/SQL建表语句/" title="SQL建表语句" target="_blank">SQL建表语句</a> <a href="/tag/SQL建表语句使用/" title="SQL建表语句使用" target="_blank">SQL建表语句使用</a> <a href="/tag/RedisTemplate使用/" title="RedisTemplate使用" target="_blank">RedisTemplate使用</a> <a href="/tag/MySQL提取数据/" title="MySQL提取数据" target="_blank">MySQL提取数据</a> <a href="/tag/JSON提取数据/" title="JSON提取数据" target="_blank">JSON提取数据</a> <a href="/tag/MySQL从JSON提取数据/" title="MySQL从JSON提取数据" target="_blank">MySQL从JSON提取数据</a> <a href="/tag/MySQL免密登录/" title="MySQL免密登录" target="_blank">MySQL免密登录</a> <a href="/tag/MySQL免密登录配置/" title="MySQL免密登录配置" target="_blank">MySQL免密登录配置</a> <a href="/tag/Oracle端口/" title="Oracle端口" target="_blank">Oracle端口</a> <a href="/tag/Oracle修改端口/" title="Oracle修改端口" target="_blank">Oracle修改端口</a> <a href="/tag/Oracle更换端口/" title="Oracle更换端口" target="_blank">Oracle更换端口</a> <a href="/tag/Oracle更换监听端口/" title="Oracle更换监听端口" target="_blank">Oracle更换监听端口</a> <a href="/tag/HBASE部署/" title="HBASE部署" target="_blank">HBASE部署</a> <a href="/tag/HBASE集群部署/" title="HBASE集群部署" target="_blank">HBASE集群部署</a> <a href="/tag/oracle中的trunc函数/" title="oracle中的trunc函数" target="_blank">oracle中的trunc函数</a> <a href="/tag/oracle中trunc/" title="oracle中trunc" target="_blank">oracle中trunc</a> <a href="/tag/winx64安装/" title="winx64安装" target="_blank">winx64安装</a> <a href="/tag/格式化yyyy-mm-dd/" title="格式化yyyy-mm-dd" target="_blank">格式化yyyy-mm-dd</a> <a href="/tag/mysql时间戳格式化yyyy-mm-dd/" title="mysql时间戳格式化yyyy-mm-dd" target="_blank">mysql时间戳格式化yyyy-mm-dd</a> <a href="/tag/mysql8.0.15重置密码/" title="mysql8.0.15重置密码" target="_blank">mysql8.0.15重置密码</a> <a href="/tag/mysql8.0.15修改密码/" title="mysql8.0.15修改密码" target="_blank">mysql8.0.15修改密码</a> <a href="/tag/2059/" title="2059" target="_blank">2059</a> <a href="/tag/Navicat连接MySQL出现2059/" title="Navicat连接MySQL出现2059" target="_blank">Navicat连接MySQL出现2059</a> <a href="/tag/DBeaver导入数据/" title="DBeaver导入数据" target="_blank">DBeaver导入数据</a> <a href="/tag/DBeaver导入excel大量数据/" title="DBeaver导入excel大量数据" target="_blank">DBeaver导入excel大量数据</a> <a href="/tag/DBeaver导入excel数据/" title="DBeaver导入excel数据" target="_blank">DBeaver导入excel数据</a> <a href="/tag/dbeaver导出/" title="dbeaver导出" target="_blank">dbeaver导出</a> </li> </ul> </div> </div> <script type="text/javascript"> jQuery(window).scroll(function () { var rightH = jQuery('.nex_ART_content_r').height(); var t = jQuery(".nex_ART_content_r").offset().top; var cH = jQuery(document).height(); var h = jQuery(this).scrollTop(); var fH = jQuery('.nexfooter').height(); var wH = jQuery(window).height(); var hH = cH - (h + wH); if (h > rightH && hH > fH) { jQuery(".nex_plugin_grids").addClass('nexfixed'); } else { jQuery(".nex_plugin_grids").removeClass('nexfixed'); } }); jQuery(".nex_art_author_info_top span a").click(function () { window.location.reload();; }); </script> </div> <div class="clear"></div> </div> </div> </div> <div class="nexfooter"> <div class="nexfttop"> <div class="w1240"> <div class="nex_ft_left"> <div class="nex_ft_logotxt"><img src="/skin/bcw/static/picture/ft_txt.png" /></div> <div class="nex_ft_sums">编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。 </div> </div> <div class="nex_ft_middle"> <div class="nex_ft_middle_top"> <ul> <li><a href="/qianduan/" target="_blank" title="前端">前端</a></li> <li><a href="/houduan/" target="_blank" title="后端">后端</a></li> <li><a href="/mysql/" target="_blank" title="数据库">数据库</a></li> <li><a href="/fuwuqi/" target="_blank" title="服务器">服务器</a></li> <li><a href="/anquan/" target="_blank" title="操作系统">操作系统</a></li> <div class="clear"></div> </ul> </div> <div class="nex_ft_middle_btm"> <ul> <li><a href="mailto:279061341@qq.com">商务合作:279061341@qq.com</a></li> <li><a href="https://www.lsjlt.com/sitemaps/baidu/map3.txt">网站地图</a></li> <li><a href="mailto:279061341@qq.com">投稿合作:279061341@qq.com</a></li> <li><a href="/tag/">标签大全</a></li> <li>虚位以待</li> </ul> </div> </div> <div class="nex_ft_right"> <ul> <li> <div class="nex_ft_qcode_img"><img src="/skin/bcw/static/images/mobile_qcode.png" /></div> <p>官方手机版</p> </li> <li> <div class="nex_ft_qcode_img"><img src="/skin/bcw/static/images/wx_qcode.jpg" /></div> <p>微信公众号</p> </li> <li> <div class="nex_ft_qcode_img"><img src="/skin/bcw/static/images/corp_code.png" /></div> <p>商务合作</p> </li> <div class="clear"></div> </ul> </div> <div class="clear"></div> </div> </div> <div class="nexftbottom"> <div class="w1240"> <div class="nex_ft_other_info"> <ul> <li> Powered by <a href="https://www.lsjlt.com" target="_blank">编程网</a> <em>|</em> Copyright © 2018-2023, 版权所有. <em>|</em> <a href="https://www.lsjlt.com/sitemaps/baidu/map4.txt" target="_blank">网站地图</a> <em>|</em> <a href="http://beian.miit.gov.cn/" rel="nofollow" target="_blank">苏ICP备17033115号</a> </li> </ul> </div> <div class="clear"></div> </div> </div> </div> <div id="ft" style="margin:0;padding:0; height:0;"></div> <div id="scrolltop" style="display:none;"> <span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" id="scrolltopa"><b>返回顶部</b></a></span> </div> <script src="/skin/bcw/static/js/indexsms.js?v=20240108.1443"></script> <script src="/skin/layui/layui.js" type="text/javascript"></script> <script src="/skin/bcw/static/js/logo_pop.js" type="text/javascript"></script> <style> .layui-layer-iframe{overflow: hidden;} .layui-layer-close2{ background: url(https://s.hqwx.com/statics/home/pc/examTime/images/ico_close.png); top: 0px!important; right: 0px!important; cursor: pointer; background-position: 0 0 !important; } </style> <script> layui.use(function(){ var $ = layui.$; var layer = layui.layer; var util = layui.util; // 事件 util.on('lay-on', { 'showLoginPopup': function(){ layer.open({ type: 2, title: false, shade: 0.7, fixed: true, area: ['480px', '550px'], content: ['https://www.lsjlt.com/login', 'no'], }); }, }) }); </script> </body> </html>