摘要:
</pre><pre name="code" class="php"><?php /** * Created by PhpStorm. * User: qishou * Date: 15-8-2 * Time: 上午9:12 */ header("content-type:text/html;cha 阅读全文
摘要:
傻瓜一键生成代码:http://api.map.baidu.com/lbsapi/creatmap/ 百度地图API开发文档:http://lbsyun.baidu.com/index.php?title=jspopular3.0 阅读全文
摘要:
Marquee是html的标签,所有的主流浏览器都能兼容,用于创建文字滚动。 来介绍下标签的属性 滚动方向 direction <!--滚动方向 direction 4个值 up down left right 默认从右向左--> <marquee direction="up">我想上滚动</mar 阅读全文
摘要:
--常用命令 1.安装软件 yum install 软件名称 2.卸载软件 yum remove 软件名称 3.更新软件 yum update 软件名称 4.列出所有可安装的软件包 yum list 5.列出所有可更新的软件包 yum list updates 6.列出所有已安装的软件包 yum l 阅读全文
摘要:
一、 数学函数1.abs(): 求绝对值 求绝对值$abs = abs(-4.2);输入:任意数字输出结果:4.2(数字绝对值数字) 2.ceil(): 进一法取整 进一法取整echo ceil(9.999);输入:任意数字输出结果:10(浮点数进一取整) 3.floor(): 舍去法取整 舍去法取 阅读全文
摘要:
//遍历输出一个目录下所有文件夹的名称 function traverseDir($dir, $one = 1) { if($dir_handle = @opendir($dir)){ while($filename = readdir($dir_handle)){ if($filename != 阅读全文
摘要:
function generateRandomString($length = 10, $type = 1) { if ($type == 1) { $characters = '0123456789'; } else { $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKL... 阅读全文
摘要:
array (size=2) 0 => string '2018-07-01' (length=10) 1 => string '2018-07-31' (length=10) 1 => array (size=2) 0 => string '2018-08-01' (length=10) 1 => string '2018-08-31' (length=10) 2 => array (... 阅读全文
摘要:
//公众号分享 public function index() { global $oid; $url = input('url'); $oid = input('oid'); $wxGzhAppid = PayConfig::get_wx_config_info('wxGzhAppid', $oid); $wxGzhS... 阅读全文
摘要:
1 先去微信公众平台,选择现有模板,会有一个模板编号,模板中没有的关键词,可以申请新增。 微信公众平台直达:https://mp.weixin.qq.com 模板消息对应文档直达:https://developers.weixin.qq.com/miniprogram/dev/framework/o 阅读全文