smelikecat

导航

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页

2016年1月7日 #

[auto-download-app] 如何使用 javascript 实现 app 自动下载

摘要: // 在访客跳转进入的页面中,执行下面使用下面 invoke function (function(){ var str_downloadUrl = ""; var str_scheme = "hinabian://openwith"; if($.os.iphone) { ... 阅读全文

posted @ 2016-01-07 11:08 smelikecat 阅读(2649) 评论(0) 推荐(0) 编辑

2016年1月5日 #

[smarty] smarty 模板文件中进行字符串与变量的拼接

摘要: // smarty 模板引擎$arr_tribeLabelList["`$tribe_id`_"] 阅读全文

posted @ 2016-01-05 18:28 smelikecat 阅读(310) 评论(0) 推荐(0) 编辑

[php-cookie] cookie 请求跨域,如何共享

摘要: cookie 请求跨域的问题, 假设我有两个域名,一个 m.example.com,另一个是 www.example.com 。那么我需要如何设置 cookie 才可以在这两个域名都实现共享呢?// m.example.com & www.example.com 的根域名都是 example.com... 阅读全文

posted @ 2016-01-05 16:57 smelikecat 阅读(861) 评论(0) 推荐(0) 编辑

[php]PHP_函数收集

摘要: //http://php.net/manual/en/control-structures.break.php //break ends execution of the current for, foreach, while, do-while or switch structure. //bre 阅读全文

posted @ 2016-01-05 16:23 smelikecat 阅读(173) 评论(0) 推荐(0) 编辑

2015年12月28日 #

[php-dom] php-dom使用注意事项

摘要: /*注意事项: 1. 在loadHTML之前,应该将内容转义为UTF-8编码的,这样子避免出现entity等等的报错; 2. 已经使用了php函数htmlspecialchars()转换的html实体,再经过DOM解析转换后,会被直接还原为标签,如:<br/> 在dom解析之后,直接... 阅读全文

posted @ 2015-12-28 16:39 smelikecat 阅读(299) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页