上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 效果图//HTML 和大家分享一点新鲜事吧? 可以输入140个字 //CSS#main .left { float:left; color:#666; font... 阅读全文
posted @ 2014-10-15 20:42 栋的博客 阅读(335) 评论(0) 推荐(0) 编辑
摘要: //html代码{$doctor.reason|htmlspecialchars|trim|msubstr=0,35}//JS代码// 使用live可以给动态添加的元素绑定事件 $('td span.doc_reason').live('click',function() { var ... 阅读全文
posted @ 2014-10-15 12:20 栋的博客 阅读(3177) 评论(1) 推荐(0) 编辑
摘要: //cookie加密 function cookie_encode($value) { $key = sha1(‘alsdfj’); //随机加密字符,可以多重加密,越复杂越好 $temp = $value ^ $key; retur... 阅读全文
posted @ 2014-10-05 09:44 栋的博客 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1,apache a)apache官网下载 .tar.gz 结尾的文件,并且通过ftp传送到liunx下自建的目录里面。 b)解压 tar -zxvf httpd-2.0.54.tar.gz,并mv将其重命名为 apach(随意) c) ./configure --prefix=/usr/local/http2 \ --enable-modules=all \ --en... 阅读全文
posted @ 2014-09-25 18:14 栋的博客 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 对于大数据量的查询处理,记得先用explian看下,尽量的优化 例如:explain select surname,first_name form a,b where a.id=b.id Explain 解释: table:显示这一行的数据是关于那张表。 type: 这个是重要的列,显示连接使用了何种类型。从最好到最差的链接类型为 const – eq_reg – ... 阅读全文
posted @ 2014-09-24 12:46 栋的博客 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 没有仔细看解决办法,留个网址以后看 http://www.nowamagic.net/librarys/veda/detail/2334 阅读全文
posted @ 2014-09-11 17:09 栋的博客 阅读(335) 评论(0) 推荐(0) 编辑
摘要: HP传给JS字符串用ecsape转换加到url里,又用PHP接收,再用网上找的unscape函数转换一下,这样得到的字符串是UTF-8的,但我需要的是GB2312,于是用iconv转换 开始是这样用的 $str = iconv('UTF-8', 'GB2312', unescape(isset($_GET['str'])? $_GET['str']:'')); ... 阅读全文
posted @ 2014-09-11 17:07 栋的博客 阅读(8179) 评论(0) 推荐(0) 编辑
摘要: (.*) 这样根本不行,因为源代码里面有换行ch(13),还有一些 tab键,应该这样:preg_match('/([\s\S]*)/iU',$get,$data); 阅读全文
posted @ 2014-09-11 11:54 栋的博客 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: html *(apk,ipa目前为自动重命名) css JS//触发事件 $('#ver').change(function() { //if 也可以使用try if(typeof this.files == 'undefined') { alert('建议您使... 阅读全文
posted @ 2014-09-01 17:35 栋的博客 阅读(3317) 评论(0) 推荐(0) 编辑
摘要: //-----------------------------------------------------------------------------------------------//---------------------------------------------------------------------------------------------... 阅读全文
posted @ 2014-08-19 22:53 栋的博客 阅读(291) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页
深入理解php php扩展开发 docker mongodb