摘要: 第一步:打开apache(mac自带php和apache) 查看apache 版本 httpd -v 开启apache apachectl start 重启apache apachectl restart 关闭apache apachectl stop 在网页输入127.0.0.1显示“its wo 阅读全文
posted @ 2020-12-28 13:49 进击的巨人X 阅读(483) 评论(0) 推荐(0) 编辑
摘要: /** * 图片显示处理 * * */ public function handleProductsImg(){ //视频列表 $model_video = new VideoModel(); $where = array(); $where[] = array('video_name','neq' 阅读全文
posted @ 2020-02-12 17:54 进击的巨人X 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 这里使用FFmpeg 1、什么是FFmpeg FFmpeg是一套可以用来记录、转换数字音频、视频,并能将其转化为流的开源计算机程序。采用LGPL或GPL许可证。它提供了录制、转换以及流化音视频的完整解决方案。它包含了非常先进的音频/视频编解码库libavcodec,为了保证高可移植性和编解码质量,l 阅读全文
posted @ 2019-10-15 18:02 进击的巨人X 阅读(226) 评论(0) 推荐(0) 编辑
摘要: <input type="text" value="" name="should_send_num" id="should_send_num" class="input-txt" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)"> functi 阅读全文
posted @ 2019-03-28 18:26 进击的巨人X 阅读(2779) 评论(0) 推荐(0) 编辑
摘要: if (@fopen($dst_path,'r')) { //图片名称(不带后缀) $basename = strstr(basename($dst_path),'.',true); //图片后缀 $suffix = strstr(basename($dst_path),'.',false); // 阅读全文
posted @ 2018-11-26 18:22 进击的巨人X 阅读(178) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.qrcode.min.js" ></script> <script type="text/javascript">$(function(){ / 阅读全文
posted @ 2018-08-28 14:30 进击的巨人X 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 使用正则表达式匹配中文 阅读全文
posted @ 2018-08-28 10:18 进击的巨人X 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1、mysql去重插入,插入重复数据跳过, insert ignore into goods values(id,name,age); 设置唯一索引 UNIQUE KEY `gift_card_code` (`gift_card_code`) USING BTREE 2、group by 和orde 阅读全文
posted @ 2018-08-27 16:29 进击的巨人X 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 记录一次优惠券生成-去重 方法一 /** * 生成批量礼品消费券 */ public function giftCardAddOp() { //接收get值 $num = $_GET['gift_num']; $branch_prefix = $_GET['city_name']; if ($_GE 阅读全文
posted @ 2018-08-25 13:34 进击的巨人X 阅读(1984) 评论(0) 推荐(0) 编辑
摘要: https://edu.csdn.net/course/detail/3123?utm_source=blogt0157 JavaScript从零开始 阅读全文
posted @ 2018-08-20 17:14 进击的巨人X 阅读(113) 评论(0) 推荐(0) 编辑