摘要: 1 encode(json_encode(array('wc1217', 'wcwc'))); 12 // echo $d . ''; 13 // echo spClass('encryptClass')->decode($d); 14 echo ... 阅读全文
posted @ 2012-09-24 22:19 无嗔 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" co 阅读全文
posted @ 2012-09-17 21:06 无嗔 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 用jquery将数据post到新窗口 1 function openBlank(action,data,n){ 2 var form = $("").attr('action',action).attr('method','post'); 3 if(n) 4 f... 阅读全文
posted @ 2012-09-12 13:24 无嗔 阅读(5249) 评论(0) 推荐(0) 编辑
摘要: 网上找了很久.银行开发时会用到! 在线查询: https://e.czbank.com/CORPORBANK/WebBank?&tranFlag=0&dse_operationName=wgQueryUnionBankSrvOp XML格式的: 青岛银行中下载中心http://www.qdccb.c... 阅读全文
posted @ 2012-07-03 14:18 无嗔 阅读(4357) 评论(0) 推荐(1) 编辑
摘要: gtmm@GTMM:/$ last rebootreboot system boot 2.6.38-8-server Thu Jun 7 13:29 - 12:34 (3+23:05) wtmp begins Tue Jun 5 09:42:13 2012gtmm@GTMM:/$ last rebo... 阅读全文
posted @ 2012-06-11 12:44 无嗔 阅读(717) 评论(0) 推荐(0) 编辑
摘要: 1 private function create_scaled_image($file_path){ 2 $file_name = basename($file_path); 3 $new_file_path = dirname($file_path) . D... 阅读全文
posted @ 2012-06-05 13:01 无嗔 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 时间对象的格式化; 3 */ 4 Date.prototype.format = function(format,now) { 5 /* 6 * eg:format="yyyy-MM-dd hh:mm:ss"; 7 */ 8 9 v... 阅读全文
posted @ 2012-05-18 10:09 无嗔 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: 1 onStartDrag:function(e){2 $(this).draggable('options').cursor = 'not-allowed';3 $(this).draggable('pro... 阅读全文
posted @ 2012-05-03 23:33 无嗔 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: $(''+data+'').text() //测试var data = 'sdfdfweresfdsf';alert($(''+data+'').text()); 阅读全文
posted @ 2012-05-01 00:22 无嗔 阅读(10213) 评论(0) 推荐(3) 编辑
摘要: select_related()官方解释 Returns aQuerySetthat will automatically "follow" foreign-key relationships, selecting that additional related-object data when i... 阅读全文
posted @ 2012-04-09 15:03 无嗔 阅读(2638) 评论(0) 推荐(0) 编辑
摘要: Currently no official 64bit versions of Apache and PHP exists for Microsoft Windows. However, there is a dude out there who, at the time of writing... 阅读全文
posted @ 2012-04-03 21:31 无嗔 阅读(3251) 评论(0) 推荐(0) 编辑
摘要: Google上传要钱了..直接传这来了.. 原理: 用一个空白的页面来替换长时间运行的页面(休眠标签),以达到节约您的内存的效果. 有以下功能 1. 自动过滤非 http 开头的. 2. 自定义过滤关键字和URL地址,防止休眠音乐视频等需要后台的网页 3. 扫描时间和超时时间可调节 4. 快捷设置本... 阅读全文
posted @ 2012-03-18 01:04 无嗔 阅读(963) 评论(1) 推荐(0) 编辑
摘要: 原版的英文: When the replacement URI contains a query string, the default behavior of RewriteRule is to discard the existing query string, and replace it w... 阅读全文
posted @ 2012-03-16 12:56 无嗔 阅读(2122) 评论(2) 推荐(0) 编辑
摘要: 原理很简单,用php_Curl的批量类去得到QQ在线状态图片的Header,然后对比Content-Length的大小..就知道在线与否了. 以下的 'http://wpa.qq.com/pa?p=2:121711090:3' 在线大小为 1638 //自己改一下print_r //也可以改成类.... 阅读全文
posted @ 2012-03-15 12:42 无嗔 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 2012.07.07: 修正20版本后双滚动条问题 neat bookmarks 的原作者因违反Google web store 的规定,(篡改Google AD的广告)而被Google强制下架了..不过现在确实没有什么好的替代品,, 本人私自改了一下源码.去除了Marketing,添加了特别的后台... 阅读全文
posted @ 2012-03-14 21:51 无嗔 阅读(3077) 评论(3) 推荐(0) 编辑