08 2014 档案

摘要:4 html 代码 5 6 7 8 9 10 11 document12 13 14 15 46 47 操他妈装B的人48 49 50 51 52 53 54 后台代码55 public function getJsonAction(){56 ... 阅读全文
posted @ 2014-08-27 21:38 鱼尾纹 阅读(373) 评论(0) 推荐(0) 编辑
摘要:$sql = "insert into `elconlist` (`ecgrouid`,`elcono`) VALUES"; for($i = 0; $i creatElcono($comid)."'),"; }else{ ... 阅读全文
posted @ 2014-08-18 14:55 鱼尾纹 阅读(1333) 评论(0) 推荐(0) 编辑
摘要:今天在用stbstr()函数的时候出了点问题,因为我把处理结果放在了if的condition中。当第一个位置就发现的时候,return 0。在PHP中 当condition = 0 会被翻译为false。用一个简单的方法再包一层就可以is_int() 判断是不是数字。isset(): ... 阅读全文
posted @ 2014-08-15 11:08 鱼尾纹 阅读(285) 评论(0) 推荐(0) 编辑
摘要:曾经我写了很多逻辑来比较俩个时间的大小。总结下简单的方法。 JS 比较两个时间的大小 if(Date.parse($fromtime.replace(/\-/g,"/"))>Date.parse($endtime.replace(/\-/g,"/"))){tipslog('活动结束时间不能... 阅读全文
posted @ 2014-08-14 09:46 鱼尾纹 阅读(225) 评论(0) 推荐(0) 编辑
摘要:其实这个问题一直比较模糊。今天有人讨论这个东西,比较浅显的比较了一番。我是从http这个角度来看的。 我用来测试的PHP代码 我们的需求是通过redirect.php 访问demo_1.php的内容 重定向:重定向是加入客户端发送请求A页面,A页面返回请求内容 头信息中Status Code:... 阅读全文
posted @ 2014-08-13 15:01 鱼尾纹 阅读(263) 评论(0) 推荐(0) 编辑
摘要:没有有BUG的代码else if('add' == $key){ //获取问卷名字 $id = $this->get('wjid'); $wjname = $this->getWants('Spectab','id',$id,'spe... 阅读全文
posted @ 2014-08-12 11:06 鱼尾纹 阅读(298) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示