- 昵称:丰 启
- 博龄:5年8个月29天
- 粉丝:0
- 关注:0
- +关注
搜索
文章分类
博客档案
php过滤特殊字符、换行符、回车、前后空格、table缩进
摘要: $string // 字符串$string = strip_tags( $string); //过滤特殊字符$string = trim( $string); //过滤前后空格$string = str_replace("\t","",$string)
2019-09-03 16:49:30
丰 启
阅读(1180)
评论(0)
jquery返回上一页并刷新
摘要:document.referrer; //上一页地址window.location.href=document.referrer;
2019-09-03 16:09:47
丰 启
阅读(228)
评论(0)
jquery 表格行全选
摘要:html代码<table> <thead> <tr> <th width="40"><input type="checkbox" class="ck"></th> <
2019-09-03 11:24:40
丰 启
阅读(218)
评论(0)
qq登陆报错:The state does not match. You may be a victim of CSRF.
摘要:使用qq第三方接口登录时报错如下:The state does not match. You may be a victim of CSRF.解决方法:回调方法错误导致的,这涉及到跨域问题。比如你网站访问地址为http://www.baidu.com,而回调地址设置为:http://baidu.com/login/callback(没www),就会报错,这是
2019-09-03 11:06:14
丰 启
阅读(3789)
评论(0)
juqery数组转字符串,join函数 用指定字符链接
摘要:var arr = [1,2,3,4,6,7];arr.join('-');结果:1,2,3,4,6,7
2019-09-03 10:58:12
丰 启
阅读(172)
评论(0)