Loading...
/** * @Author:小破孩 * @Time: 2020/7/10 13:13 * @param $title 邮件标题 * @para...
/** * @Author:小破孩 * @Time: 2020/7/31 11:39 * @param $array * @return arra...
安装现在开始,创建项目目录/PHPExcel,进入项目目录。使用composer安装:composer require phpoffice/phpspre...
/** * @Author: 小破孩嫩 * @Email: 3584685883@qq.com * @Time: 2020/12/10 20:00 ...
function getFileType($ext){ static $mime_types = [ 'apk' =>...
示例 采集百度搜索结果列表的标题和链接。采集代码$data = QueryList::get('https://www.baidu.com/s?wd=Qu...
请求变量use think\facade\Request; Request::param('name'); Request::param();全部请求变量...
<?php namespace app\index\common; use think\Log; class Logs { //sentry...
<?php /** *求两个已知经纬度之间的距离,单位为米 *@param lng1,lng2 经度 *@param lat1,lat2 纬度 *@...
function to_slash($array) { // 先转成json字符串,进行正则替换,再转换为数组 $tmp = json_encode($a...