08 2015 档案

php正则表达式获取表格内容
摘要:508982 08,07,01,03,04,09,05,10,06,02 2015-08-31 17:17 508981 02,03,06,04,10,05,09,01,08,07 2015... 阅读全文

posted @ 2015-08-31 21:26 walter371 阅读(1317) 评论(0) 推荐(0)

php中$this、static、final、const、self 等几个关键字的用法
摘要:public_method(); }};echo get_class(A::get_self()); //Aecho get_class(A::get_static()); //Aecho get_class(B::get_self()); //Aecho get_class(B... 阅读全文

posted @ 2015-08-29 14:34 walter371 阅读(284) 评论(0) 推荐(0)

【ExtJs】使用Cookie、切换主题和语言
摘要:转自:http://witmax.cn/extjs-cookie-theme-lang.html使用Cookie:123Ext.state.Manager.setProvider(new Ext.state.CookieProvider());Ext.state.Manager.set("key",... 阅读全文

posted @ 2015-08-28 23:34 walter371 阅读(442) 评论(0) 推荐(0)

extjs实现多国语音切换
摘要:http://kuyur.info/blog/archives/2490http://blog.chinaunix.net/uid-28661623-id-3779637.htmlhttp://blog.csdn.net/shadowkiss/article/details/7572396http:... 阅读全文

posted @ 2015-08-28 23:20 walter371 阅读(227) 评论(0) 推荐(0)

simplexml_load_string 解析gb2312编码的xml
摘要:************";try{ $data = simplexml_load_string($content) or die('unable to load xml');}catch(Excetion $e){ print_r($e->getMessage());}if(isset($data... 阅读全文

posted @ 2015-08-28 13:35 walter371 阅读(2959) 评论(0) 推荐(0)

PHP中使用CURL实现GET和POST请求
摘要:转自:http://www.smsyun.com/home-index-page-id-284.html一、什么是CURL?cURL 是一个利用URL语法规定来传输文件和数据的工具,支持很多协议,如HTTP、FTP、TELNET等。最爽的是,PHP也支持 cURL 库。使用PHP的cURL库可以简单... 阅读全文

posted @ 2015-08-28 10:26 walter371 阅读(410) 评论(0) 推荐(0)

simplexml_load_string获取xml节点里的属性值
摘要:http://stackoverflow.com/questions/14359658/get-xml-attribute-using-simplexml-load-string问:I am using a few third party APIs which returns errors via ... 阅读全文

posted @ 2015-08-28 09:28 walter371 阅读(1777) 评论(0) 推荐(0)

php5调用web service (笔者测试成功)
摘要:转自:http://www.cnblogs.com/smallmuda/archive/2010/10/12/1848700.html感谢作者分享工作中需要用php调用web service接口,对php不熟,上网搜搜,发现关于用php调用web service的文章也不多,不少还是php4里用nu... 阅读全文

posted @ 2015-08-25 17:47 walter371 阅读(431) 评论(0) 推荐(0)

设计角色状态权限控制问题
摘要:http://www.dewen.io/q/4996/%E8%AE%BE%E8%AE%A1%E8%A7%92%E8%89%B2%E7%8A%B6%E6%80%81%E6%9D%83%E9%99%90%E6%8E%A7%E5%88%B6%E9%97%AE%E9%A2%98问:extjs中,模块包含菜单... 阅读全文

posted @ 2015-08-21 15:49 walter371 阅读(298) 评论(0) 推荐(0)

having count group by
摘要:select count(*) from (select field2,count(field2) from bsgj.table1 group by field,items_id having(count(field2)>1)) as tmpwhere field2=43月份以来下单超过两单的收货... 阅读全文

posted @ 2015-08-17 16:41 walter371 阅读(196) 评论(0) 推荐(0)

mysql TRUNCATE
摘要:保留小数点select truncate(field1,2) from table1field3 字段类型为decimal(20,3) 阅读全文

posted @ 2015-08-17 16:21 walter371 阅读(195) 评论(0) 推荐(0)

mac os x 系统安装 genymotion android 模拟器
摘要:如果你有 apk 文件 想 运行一下看看 ,但是又没有 android 设备 ,那么 genymotion 将会是一个 很好的解决方案。1、安装下载链接: https://cloud.genymotion.com/page/launchpad/download/ 下载之前 需要在 官网上 注册一个 ... 阅读全文

posted @ 2015-08-15 12:03 walter371 阅读(871) 评论(0) 推荐(0)

find_in_set
摘要:SELECT * FROM tablename where field1=2 and find_in_set(70,field2) ORDER BY `id` DESCfield2 里某条记录为 70,71,72,73会被找到,保存的值结构为逗号分隔 阅读全文

posted @ 2015-08-13 11:50 walter371 阅读(158) 评论(0) 推荐(0)

mysql substring_index
摘要:select * from tablename where substring_index(field1,'_',-1)=‘abc'#表中field1的值结构为123_abc 阅读全文

posted @ 2015-08-13 11:43 walter371 阅读(182) 评论(0) 推荐(0)

mysql字段累加concat
摘要:update tablename set field1=concat(field1,'_bak') where field2 like '%@xxx’ 阅读全文

posted @ 2015-08-13 11:41 walter371 阅读(613) 评论(0) 推荐(0)

php webservice soap
摘要:http://www.cnblogs.com/phpdragon/archive/2012/06/10/2544171.htmlhttp://jeffxie.blog.51cto.com/1365360/1083104/http://blog.sina.com.cn/s/blog_550ffb0b0... 阅读全文

posted @ 2015-08-11 10:48 walter371 阅读(129) 评论(0) 推荐(0)

导航