Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
PHP
[求教]b. PHP 页面 include 引入 a.html,如果只改 b. PHP ,怎么才能修改/隐藏 b. PHP 的网页标签<title>xx</title>?
vazo
·
Nov 2, 2022
· 1685 views
This topic created in 1273 days ago, the information mentioned may be changed or developed.
include './a.html';
PHP
include
title
求教
2 replies
•
2022-11-02 14:48:04 +08:00
1
ywisax
Nov 2, 2022
1
```php
<?php
include './a.html';
$html = ob_get_clean();
$html = str_replace('xxxx', 'xxx', $html);
echo $html;
```
2
vazo
OP
Nov 2, 2022
@
ywisax
👍
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
968 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms ·
UTC 20:41
·
PVG 04:41
·
LAX 13:41
·
JFK 16:41
♥ Do have faith in what you're doing.
❯