上一页 1 2 3 4 5 6 7 8 ··· 20 下一页

2018年3月15日

php 手机 密码正则验证

摘要: if(preg_match("/^134[0-8]\d{7}$|^13[^4]\d{8}$|^14[5-9]\d{8}$|^15[^4]\d{8}$|^16[6]\d{8}$|^17[0-8]\d{8}$|^18[\d]{9}$|^19[8,9]\d{8}$/",substr($_POST['userMobile'], -11))){ //验证通过 }else{ ... 阅读全文

posted @ 2018-03-15 09:20 奔跑的葛根 阅读(451) 评论(0) 推荐(0)

js 正则匹配

摘要: 密码 // 密码的正则匹配 $("#zhuce-password").blur(function(){ var password=/^[a-z0-9]{6,16}$/; var zhucepassword=$("#zhuce-password").val(); if(!password.test(z 阅读全文

posted @ 2018-03-15 09:17 奔跑的葛根 阅读(603) 评论(0) 推荐(0)

2018年2月24日

animate.css

摘要: Animate.css 123123 Animate.css Just-add-water CSS animations Animate it 阅读全文

posted @ 2018-02-24 10:12 奔跑的葛根 阅读(203) 评论(0) 推荐(0)

2018年1月30日

配置php 环境

摘要: window7 64bit安装apache24+php7 原创 2016年11月24日 10:42:18 2416 原创 2016年11月24日 10:42:18 2416 1、首先下载php7的windows压缩包,到这里下载http://windows.php.net/download/,如下图 阅读全文

posted @ 2018-01-30 15:35 奔跑的葛根 阅读(306) 评论(0) 推荐(0)

2018年1月27日

php 模拟表单提交-get-post

摘要: _ch = curl_init(); $this->setUrl($_url); curl_setopt($this->_ch, CURLOPT_RETURNTRANSFER, 1); } /** * get方式提交 * @param array|string 表单数据 * @return mixed */ ... 阅读全文

posted @ 2018-01-27 11:54 奔跑的葛根 阅读(334) 评论(0) 推荐(0)

2018年1月26日

php--curl

摘要: 22222222222222222222222222222 阅读全文

posted @ 2018-01-26 16:19 奔跑的葛根 阅读(109) 评论(0) 推荐(0)

数组的处理

摘要: 1、将字符串分割成数组:$array=explode(separator,$string): separator:分隔符, $string:分割的字符串; 2、将数组组合成字符串:$string=implode(glue,$array): glue:胶合符, $array:数组; 3、统计数组的长度:count(): count函数有两个参数: 0(或COUNT_NORMAL)为默... 阅读全文

posted @ 2018-01-26 16:14 奔跑的葛根 阅读(144) 评论(0) 推荐(0)

2017年12月2日

bootstrap 列的排序

摘要: class="col-md-9 col-md-push-3" 跑后面 class="col-md-3 col-md-pull-9" 在前面 阅读全文

posted @ 2017-12-02 10:54 奔跑的葛根 阅读(244) 评论(0) 推荐(0)

bootstrap 偏移

摘要: class="col-md-4 col-md-offset-1" 偏移一个位置 阅读全文

posted @ 2017-12-02 10:47 奔跑的葛根 阅读(419) 评论(0) 推荐(0)

2017年11月10日

css3 让一个图片翻转示例代码

摘要: #imgg:hover{ animation:imgg 控制的名称 3s 几秒完成 linear 线性 0 延迟 infinite 是否循环 ; -webkit-animation:mymove 0.1s linear 0 infinite; //transition:all 3s; } @keyf 阅读全文

posted @ 2017-11-10 09:04 奔跑的葛根 阅读(956) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 20 下一页

导航