11 2014 档案

摘要:转载:http://www.oschina.net/code/snippet_105076_3962config.phpcron.phpignore_user_abort();//关掉浏览器,PHP脚本也可以继续执行.set_time_limit(0);// 通过set_time_limit(0)可... 阅读全文
posted @ 2014-11-24 15:23 luomo 阅读(166) 评论(0) 推荐(0)
摘要:转载:http://www.php230.com/php-how-to-generate-n-random-number-does-not-repeat.html有25幅作品拿去投票,一次投票需要选16幅,单个作品一次投票只能选择一次。前面有个程序员捅了漏子,忘了把投票入库,有200个用户产生的投票... 阅读全文
posted @ 2014-11-05 19:39 luomo 阅读(352) 评论(0) 推荐(0)
摘要:Example:CSS鼠标手型效果 CSS鼠标手型效果Example:CSS鼠标手型效果 CSS鼠标手型效果注:pointer也是小手鼠标,建议大家用pointer,因为它可以兼容多种浏览器。Example:CSS鼠标由系统自动给出效果 CSS鼠标由系统自动给出效果Example:CSS鼠标十字型 ... 阅读全文
posted @ 2014-11-04 11:13 luomo 阅读(413) 评论(0) 推荐(0)
摘要:ajax防止重复提交请求A. 独占型提交只允许同时存在一次提交操作,并且直到本次提交完成才能进行下一次提交。module.submit = function() { if (this.promise_.state() === 'pending') { return } return this.pro... 阅读全文
posted @ 2014-11-04 09:19 luomo 阅读(476) 评论(0) 推荐(0)
摘要:使用JS截取字符串函数详解JS截取字符串函数:一、函数:split();二、函数:John();三、函 数:indexOf();四、其他几种方 法:stringObject.substring(start,stop);stringObject.substr(start[,length])...一、函... 阅读全文
posted @ 2014-11-03 13:57 luomo 阅读(215) 评论(0) 推荐(0)