F12 Console里打命令
$('ID').text()
如百度文库
$('div.ie-fix').text()
F12 Console里打命令
$('ID').text()
如百度文库
$('div.ie-fix').text()
将单个php空间绑定多个域名
我们可利用.htaccess伪静态(URL重写)绑定域名到子目录实现子站点。
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.17179.top$ [NC]
RewriteCond %{REQUEST_URI} !^/www17179top/
RewriteRule ^(.*)$ www17179top/$1?Rewrite [L,QSA]
复制有误其他问题的可以附件
htaccess.rar
# BEGIN
# 任何对标记之间的指令的修改都会被覆盖。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.17179\.top$ [NC]
RewriteCond %{REQUEST_URI} !^/www17179top/
RewriteRule ^(.*)$ www17179top/$1?Rewrite [L,QSA]
RewriteCond %{HTTP_HOST} ^new\.172u\.top$ [NC]
RewriteCond %{REQUEST_URI} !^/new172utop/
RewriteRule ^(.*)$ new172utop/$1?Rewrite [L,QSA]
#可以绑定多个,只需重复上三行代码并更改一下域名、目录名就行了
</IfModule>
# END 说明分别2个域名 www.17179.top 与new.172u.top 路径我创建的跟域名一样去了.分别为www17179top 与new172uutop
单个PHP文件中基于Web的文件管理器,使用Tiny File Manager高效轻松地管理文件 https://tinyfilemanager.github.io
它是一个简单,快速和小型的文件管理器,具有单个php文件。它也是一个Web代码编辑器。它可以在Linux,Windows或Mac平台上在线或本地运行。唯一的要求是提供PHP 5.5+。
.index_top_img{padding: 180px 0 85px 0;margin-bottom:20px;background-image:url('https://cdn.jsdelivr.net/gh/javadeath/Store@latest/usr/uploads/2021/10/1433560926.jpeg');background-size: 100% 100% ;}
.index_top_text{color:#000000;}
<div class="index_top_img">
<div class="container">
<div class="index_top_text">
<h2><?php $this->options->title();?></h2>
</div>
</div>
</div>
简单的说centos8已经绝版,官方也不提供下载了。
(看到这里建议各位别折腾了,直接换centos7 或者其他系统)
2022年2月1日,CentOS 8的Yum仓库已被搬走无法正常使用Yum,CentOS官网已经更新新的迁移命令如下:
dnf --disablerepo '*' --enablerepo extras swap centos-linux-repos centos-stream-repos
dnf distro-sync
下面的可以不用看,不过宝塔官方是建议你升级到Centos 8 Stream 以便他们支持安装。