摘要: //有一个数组 {1,2,3,4,5,6,7,8,9,12,13,45,67,89,99,101,111,123,134,565,677} 查找数组中是否有指定的某一个数. 阅读全文
posted @ 2016-06-24 08:57 Puler 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 根据需求:商品成交时发送短信 html代码省略..... Model代码省略..... 阅读全文
posted @ 2016-05-10 15:54 Puler 阅读(300) 评论(0) 推荐(0) 编辑
摘要: HTML">推送Jpush类app_key = $app_key; if ($master_secret) $this->master_secret = $master_secret; if ($url) $this->url = $url; ... 阅读全文
posted @ 2015-12-28 14:00 Puler 阅读(2784) 评论(0) 推荐(0) 编辑
摘要: MYSQL查询 阅读全文
posted @ 2015-11-23 11:57 Puler 阅读(332) 评论(0) 推荐(0) 编辑
摘要: functionpost($url,$param=array()){ if(!is_array($param)){ thrownewException("参数必须为array"); } $httph=curl_init($url); curl_setopt($httph,CURLOPT_SS... 阅读全文
posted @ 2015-11-19 14:33 Puler 阅读(18630) 评论(0) 推荐(0) 编辑
摘要: 1.当输入用户名和密码为空的时候,需要判断。这时候就用到了校验用户名和密码,这个需要在jsp的前端页面写;有两种方法,一种是用submit提交。一种是用button提交。方法一:在jsp的前端页面的头部插入一个js方法: function checkUser(){ var result = do... 阅读全文
posted @ 2015-11-19 14:29 Puler 阅读(4581) 评论(0) 推荐(0) 编辑
摘要: 自己做的一个注册页面,在前台验证手机号是否注册过。reg.html ... 阅读全文
posted @ 2015-10-28 18:22 Puler 阅读(469) 评论(0) 推荐(0) 编辑