11 2018 档案

摘要:<?php public function getid($dy_url){ $header=get_headers($dy_url); $str = "/^.*?(\d+).*/"; preg_match($str,$header[6],$arr); return $arr[1]; } 阅读全文
posted @ 2018-11-12 15:30 phpwyl 阅读(2354) 评论(1) 推荐(0)
摘要:注意 当请求https的数据时,会要求证书,这时候,加上下面这两个参数,规避ssl的证书检查 阅读全文
posted @ 2018-11-12 15:28 phpwyl 阅读(1698) 评论(0) 推荐(0)
摘要:$('#txtKey').bind('keypress',function(event){ if(event.keyCode == "13") { alert(1) }}); 阅读全文
posted @ 2018-11-01 15:04 phpwyl 阅读(781) 评论(0) 推荐(0)