网页禁止ireame嵌套代码
js方法: <script type="text/javascript"> if(self != top) { top.location = self.location; } </script>
msvcp140.dll重新安装的解决方法(dll文件缺失修复)
msvcp140.dll是vs2010编译的程序默认的库文件。 msvcp140.dll可以解决某些大型游戏或应用程序由于vs2010编译系统中缺失此dll而出现的一系列问题。 msvcp140.dll是vs2010编写的程序运行所必需的d...
帝国 网站url百度api推送代码
帝国cms的百度推送代码,自己用的,不会用的不要随便尝试,需要修改url,修改数据表,修改百度api密钥 <?php define('EmpireCMSAdmin','1'); require("e/class/connect...
使用 htmlspecialchars转义数据库里的文章
小记一下使用 htmlspecialchars_decode()函数将转义字符还原为HTML标签 $str = '<p><span style=";font-family:微软雅黑;font-size:16px">&...
file_get_contents页面出现错乱解决办法
我的页面是utf-8,file_get_contents的页面是gb2312,输出时中文乱码。 解决方法如下:复制代码 <?php header("Content-Type:text/html;charset=utf-8"); $keyworld="煤层&qu...
浏览器User-Agent总结
一、基础知识篇: Http Header之User-Agent User Agent中文名为用户代理,是Http协议中的一部分,属于头域的组成部分,User Agent也简称UA。它是一个特殊字符串头,是一种向访问网站提供你所使...
file_get_contents的优化替代函数
curl()比file_get_contents()快几倍. function curl_file_get_contents($durl) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $durl); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_seto...
回到顶部侧边按钮
1.html <dl class="toolbar"> <dd class="qq"><a href="tencent://message/?uin=123456&Menu=yes"><i></i><span>在线...
curl post提交例子
<?php $host = "/"; $path = "/wyc/title"; $method = "POST"; $apikey = "你要调用API的apikey"; $headers = array(); array_push($headers, &quo...
网站侧边客服代码 折叠式 圆球客服展示
首先是html代码:<section id="cebian"> <div class="all close"> <div class="shang"> <div class="mune"> <p>Chat w...
仿写一个抖音footer的底部 html
css代码:* { box-sizing: border-box; margin: 0; padding: 0; } a { text-decoration: none; color: #fff } #footers .footer { background: #171725; min-height: 188px; font-size: 14px; c...