会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
godenstone
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2016年12月29日
生成多sitemap文件
摘要: Thinkphp生成多sitemap文件 我们知道sitemap对于seo的重要性,很多介绍只生成一个文件sitemap.xml ,但是如果网站内容比较多,就要生成多个sitemap文件,因为搜索引擎对sitemap文件大小和条数有限制,比如google对每个sitemap文件的限制为5万条数据。何
阅读全文
posted @ 2016-12-29 11:50 goldenstones
阅读(1390)
评论(7)
推荐(0)
2016年11月14日
Netscape HTTP Cooke File Parser In PHP
摘要: http://www.hashbangcode.com/blog/netscape-http-cooke-file-parser-php I recently needed to create a function that would read and extract cookies from a
阅读全文
posted @ 2016-11-14 12:12 goldenstones
阅读(466)
评论(0)
推荐(0)
2016年11月11日
正则表达式排除特定字符串
摘要: http://blog.csdn.net/bravezhe/article/details/8301569 1.例子,查找不以baidu开头的字符串。baidu.comsina.com.cn 正则:^(?!baidu).*$ 匹配结果就是第2行,也就是第1行被排除了这里使用了零宽度断言(?!exp)
阅读全文
posted @ 2016-11-11 14:57 goldenstones
阅读(6720)
评论(0)
推荐(1)
2016年6月18日
Nginx中rewrite实现二级域名、三级域名、泛域名、路径的重写
摘要: 最常见的: 静态地址重定向到带参数的动态地址 rewrite "^(.*)/service/(.*)\.html$" $1/service.php?sid=$2 permanent; 反过来: 带参数的动态地址重定向到静态地址 if ($query_string ~* id=(.*)) { set
阅读全文
posted @ 2016-06-18 17:33 goldenstones
阅读(3487)
评论(0)
推荐(0)
nginx rewrite 实现二级域名跳转
摘要: 当访问http://cbs.test.com跳转到http://www.test.com/test/cbs/方法一: (这种方法浏览器地址会变www.test.com/test/cbs)server { listen 80; server_name www.test.com; location /
阅读全文
posted @ 2016-06-18 16:36 goldenstones
阅读(3327)
评论(0)
推荐(0)
2016年6月8日
js加密解密
摘要:
阅读全文
posted @ 2016-06-08 10:58 goldenstones
阅读(142)
评论(0)
推荐(0)
2016年5月5日
javascript事件之:谈谈自定义事件(转)
摘要: http://www.cnblogs.com/pfzeng/p/4162951.html 对于JavaScript自定义事件,印象最深刻的是用jQuery在做图片懒加载的时候。给需要懒加载的图片定义一个appear事件。当页面图片开始出现时候,触发这个自定义的appear事件(注意,这里只触发一次)
阅读全文
posted @ 2016-05-05 17:45 goldenstones
阅读(148)
评论(0)
推荐(0)
2016年4月6日
js 仿phptrim, js trim
摘要: function trims(){ this.init = function(myarguments){ if(arguments.length 0){return false;} this.arg = myarguments; this.len = this.arg.length; if(this
阅读全文
posted @ 2016-04-06 17:42 goldenstones
阅读(196)
评论(0)
推荐(0)
Keycode对照表
摘要: http://www.phpweblog.net/kiyone/archive/2007/04/19/1138.html
阅读全文
posted @ 2016-04-06 14:46 goldenstones
阅读(167)
评论(0)
推荐(0)
2015年12月23日
爬虫:获取多次跳转后的页面url
摘要: Nbimer主页
阅读全文
posted @ 2015-12-23 17:23 goldenstones
阅读(433)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告