- 博客(10)
- 收藏
- 关注
转载 千呼万唤使出来,MySQL8终于支持分析函数了。
-- auto-generated definitioncreate table AB_EMPLOYEE( EMP_ID varchar(15) null, EMP_NAME varchar(25) null, DEPT_ID varchar(15) nu...
2019-04-25 16:27:00
1106
转载 如何在一组线段中找出交叉的部分
//如何在一组线段中快速找到有重叠的部分var crossResult = (function getCrossInterval(intervalArray){ var result = []; var tree = []; //将所有线段写到树中,这里用数组...
2019-03-04 17:30:00
661
转载 获取手机号归属地
//git:https://github.com/shitoudev/phone-locationfunction mobile_home($mobile){ $mobile = trim($mobile); $pl = new PhoneLocation();...
2019-03-04 17:29:00
187
转载 curl get
function curl_get($url, $headers = [],&$error){ $curl = curl_init(); if (!empty($headers)) { curl_setopt($curl, CURLOPT_HT...
2019-03-04 17:28:00
87
转载 curl post
function curl_post($url, $data, $headers = [],&$error){ $curl = curl_init(); if (!empty($headers)) { curl_setopt($curl, CU...
2019-03-04 17:28:00
154
转载 php获取nginx服务器header信息
function getHeaders(){ $header = []; foreach ($_SERVER as $k => $v){ if(strpos($k,'HTTP_') !== false){ $header[$...
2019-03-04 17:27:00
735
转载 nginx http跳转https
return 301 https://$server_name$request_uri; 转载于:https://my.oschina.net/u/3103453/blog/30...
2019-03-04 17:25:00
83
转载 AZ序列
function AZSequence($n){ $obj = ["A","B","C","D","E","F","G","H","I","J","k","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]; ...
2019-03-04 17:23:00
220
转载 php 实现无限分类
//关联数组tree function genTree5($items) { foreach ($items as $item){ $items[$item['pid']]['son'][$item['id']] = &$items[$item['id']]; ...
2017-05-10 17:44:00
108
转载 Rides 3.0.0 中文文档
Rides 3.0.0 APIconstruct语法:__construct()定义:构造方法$redis = new Redis();connect语法:connect( $host, $port = 6379, $timeout = 0.0, $retry_interval)...
2017-03-24 21:31:00
274
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人