上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 18) { return '输入的金额不得超过千万亿!'; } //开始数字转换人民币大写 $out1 = 0; $numRmb = ''; $unit = ''; $rmb = ''; for ($out1 = 0 ; $out1 阅读全文
posted @ 2018-02-09 11:02 lglblog 阅读(836) 评论(0) 推荐(1) 编辑
摘要: pdo = new PDO ( $dsn , $user , $password ); } catch ( PDOException $e ) { die('Connection failed: ' . $e -> getMessage ()); } } final private function __clo... 阅读全文
posted @ 2018-02-09 10:50 lglblog 阅读(240) 评论(0) 推荐(1) 编辑
摘要: http://blog.csdn.net/pfm685757/article/details/50162567 阅读全文
posted @ 2018-01-23 17:28 lglblog 阅读(138) 评论(0) 推荐(1) 编辑
摘要: 微信小程序官方介绍https://mp.weixin.qq.com/debug/wxadoc/introduction/index.html?t=201818 微信小程序开发资源https://juejin.im/entry/57e457610bd1d0005bea5966 微信小程序相关资源列表 https://juejin.im/entry/588edfab1b69e6005964a68f ... 阅读全文
posted @ 2018-01-12 10:30 lglblog 阅读(192) 评论(0) 推荐(1) 编辑
摘要: 通过一个主crontab任务去维护别的任务 自定义的计划任务完全由PHP编写 任务的执行计划时间表设置与crontab的时间表设置语法一致 在指定的时间内只会运行一个任务 邮件告警异常退出任务 在root权限下可以控制任务的执行用户 指定主机名运行 阅读全文
posted @ 2018-01-11 18:36 lglblog 阅读(442) 评论(0) 推荐(1) 编辑
摘要: 1,对于无法执行php文件,首先你应该考虑的问题是是否php代码有错误,你可以先检查一下你的php代码,或者可以在linux上面执行一下这个文件,看是否能够执行成功;如果成功了,就说明是crontab的问题; 2,查看你的这个文件是否有执行权限,如果没有,chmod 755 test.php 3,看你的crontab语法是否写错了,这个网上一堆的解决方案,我就不在这里赘述了;自己不懂网上搜索,如... 阅读全文
posted @ 2018-01-11 17:52 lglblog 阅读(358) 评论(0) 推荐(1) 编辑
摘要: centos7下安装php7 php7 centos7 安装PHP7 首先安装一些必须的依赖,这里就不阐述了,后面文章再细说 yum install -y \ gcc-c++ autoconf \ libjpeg libjpeg-devel libpng \ libpng-devel freetype freetype-devel \ libpng libpng-devel libxml2 l... 阅读全文
posted @ 2018-01-11 17:50 lglblog 阅读(2412) 评论(0) 推荐(1) 编辑
摘要: PHP 资源列表 一个PHP资源列表,内容包括:库、框架、模板、安全、代码分析、日志、第三方库、配置工具、Web 工具、书籍、电子书、经典博文等等 目录 Awesome PHP 依赖管理 Dependency Management 其他的依赖管理 Dependency Management Extr 阅读全文
posted @ 2018-01-11 10:24 lglblog 阅读(773) 评论(0) 推荐(1) 编辑
摘要: <?php //生成二维码 require_once IA_ROOT . '/framework/library/qrcode/phpqrcode.php'; QRcode::png($url, $qrcode_file, QR_ECLEVEL_L, 4); 注: $url:二维码内容 $qrcode_file:二维码存放路径 //生成的二维码,添加水印 $... 阅读全文
posted @ 2018-01-10 17:51 lglblog 阅读(7566) 评论(0) 推荐(1) 编辑
摘要: 抽奖大转盘演示:http://www.sucaihuo.com/php/3301.html function getRand($proArr, $proCount) { $result = ''; $proSum = 0; foreach ($proCount as $key => $val) { if ($val $proCur) { ... 阅读全文
posted @ 2018-01-10 17:44 lglblog 阅读(221) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页