当前位置:网站首页>PHP implementation of iframe cross site text replacement / iframe website text replacement
PHP implementation of iframe cross site text replacement / iframe website text replacement
2022-06-10 23:27:00 【Yu Fei SEO】
brief introduction
A page can be Put the frame tag on your own page , But some of the links , Or words don't want , You can replace them .

The sample code
<?php
$site=$_SERVER['QUERY_STRING'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $site);
$content = curl_exec ($ch);
curl_close ($ch);
$content=str_replace(" Original station words "," Neologism ",$content);
$content=str_replace(" Original station words "," Neologism ",$content);
$content=str_replace(" Original station words "," Neologism ",$content);
// Replace the original word with a new one , Here you can continue to add more keywords to modify , But it can't be resolved https Website , And pay attention to whether the character code of this document is consistent with that of the target station .
echo $content;
exit;
?>The above code is copied to PHP In file , If the file is named iframe.php
Then the method of use is :( Change the address and file name at will )
domain name /iframe.php?yfi6.com
Be careful :https The destination station cannot be used , The other party must be http The web page of .
Part of this article comes from the Internet , Please quote source for reprint , If you need a complaint, please contact us [email protected]
边栏推荐
- 中金财富证券证券股票开户安全吗?靠谱吗?
- Development and implementation of AI intelligent video analysis easycvr platform device channel batch deletion function
- LeetCode+ 21 - 25
- 在Oracle表中如何进行关键词搜索
- 软件测试入门之软件测试的概念与过程(精辟内容)
- 一文带你了解J.U.C的FutureTask、Fork/Join框架和BlockingQueue
- C语言创建动态二维数组
- 开中银证券账户安全吗?风险高吗?
- Project training 12 - parsing SQL statements for creating tables
- Expandable to Max – MCU and MPU development, using the same license
猜你喜欢

Before we learn about high-performance computing, let's take a look at its history

leetcode 130. Surrounded regions (medium)

Array, list, set, map, properties dependency injection format

功能测试之设计语言测试:功能测试包含哪些测试?分别有什么作用

Why is the video fusion cloud service easycvr cluster video event query invalid?

Ma8601 pin √ pin replaces Tang Ming fe1.1s without changing the circuit board | perfectly replaces fe1.1s scheme

第六章——分枝限界法

Developers changing the world - Yao Guang teenagers playing Tetris

考研英语词汇 unit1

Design language testing for functional testing: what tests are included in functional testing? What is the role of each
随机推荐
Halcon combined with C # to detect surface defects -- affine transformation (II)
MySQL related -0416
[QPSK if] Verilog design of QPSK IF signal generation module based on FPGA
我们对产业互联网的认识,还是困囿于互联网式的平台和中心的逻辑之中
Solutions to the error reported by executing Oracle SQL statement [ora-00904: "createtime": invalid identifier] and [ora-00913: too many values]
laravel8 实现阿里云文件上传
宝塔计划任务Shell脚本定时删除某各目录下所有文件【记录】
This article introduces you to j.u.c's futuretask, fork/join framework and BlockingQueue
[Interface tutorial] how does easycvr set platform cascading through the interface?
Why is the video fusion cloud service easycvr cluster video event query invalid?
Reptiles learn knowledge
Commonplace - the timetable of the great philosopher Kant
Introduction to Wireshark capturing RTP load TS stream (UDP multicast)
数据与信息资源共享平台(八)
[论文分享] PATA: Fuzzing with Path Aware Taint Analysis
【GMM+KDE】基于MATLAB的GMM和KDE核估计得目标跟踪仿真
掌握高性能计算前,我们先了解一下它的历史
项目实训13——界面补充
Ride the storm and explore the secret behind the open source of flyfish, a data visualization development platform!
Is it safe for BOC securities to open an account? Is it formal?