![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP技术
八五阿良
这个作者很懒,什么都没留下…
展开
-
PHP 上传文件
/** * 上传文件 */ public function uploadFile(KaTeX parse error: Expected '}', got 'EOF' at end of input: … if (isset(_FILES[“file”]) || !is_uploaded_file($_FILES[“file”][“tmp_name”]) || $_FILES[“file”...原创 2020-02-26 16:31:48 · 110 阅读 · 0 评论 -
php Zip打包下载
源码 /** * 打包下载 */ public function downloads() { $order_id = I(‘order_id’,’’,‘intval’); $model = new OrderModel(); $where['order_id'] = $order_id; $where['file_type'] = 3; $list = $model->...原创 2020-02-26 16:29:13 · 232 阅读 · 0 评论 -
抽奖实例
六万用户量同时进行抽奖活动, 奖池金额1000 一等奖 100 1名 二等级50 3名 三等奖20 10名 四等奖1-15元 五等奖 1分钱 <?php //用户抽奖实列 //用户进行抽奖行为 index(); /* * 开始抽奖 * $num 抽奖概率数组编号 *...原创 2019-04-11 19:05:42 · 203 阅读 · 0 评论 -
TP5写日志
https://blog.csdn.net/fangkang7/article/details/83069338转载 2019-05-13 14:13:30 · 1498 阅读 · 0 评论