随笔分类 -  PHP

CentOs7安装FFmpeg
摘要:CentOs7下安装FFmpeg 1.官网下载linux版本的ffmpeg源码包 ffmpeg-4.1.tar.xz https://johnvansickle.com/ffmpeg/release-source/ (此步骤也可以使用git clone下载源码包,本质上是一样的 ) 2、下载并解压 阅读全文

posted @ 2021-03-10 20:13 东云180 阅读(731) 评论(0) 推荐(0) 编辑

Linux基于libmemcached,php扩展memcached的安装
摘要:Linux基于libmemcached,php扩展memcached的安装,和遇到的坑,做个简单的记录 阅读全文

posted @ 2017-04-20 14:03 东云180 阅读(2826) 评论(0) 推荐(0) 编辑

PHP框架CodeIgniter--URL去除index.php
摘要:今天学习CodeIgniter简称CI的第一天,记录下学习心得。 CI中国https://codeigniter.org.cn/user_guide/general/urls.html?highlight=url 这里有介绍 example.com/class/function/ID example 阅读全文

posted @ 2017-03-20 23:40 东云180 阅读(413) 评论(0) 推荐(0) 编辑

PHP正则提取HTML中img的url值
摘要:PHP获取HTML中img的url值 阅读全文

posted @ 2016-05-10 10:07 东云180 阅读(1698) 评论(0) 推荐(0) 编辑

php mysql 数据库写入与读取取文件
摘要:php mysql 数据库写入与读取取文件 阅读全文

posted @ 2015-07-21 21:29 东云180 阅读(1558) 评论(0) 推荐(0) 编辑

使用mobile jQuery 动态给select下拉添加数据,选中项默认不显示的解决方法。
摘要:getaddress(); function getaddress(type=0,parent='') { var tid=1; $.ajax({ type: "post", url: 'cityajax.php',... 阅读全文

posted @ 2015-06-27 10:46 东云180 阅读(1553) 评论(0) 推荐(0) 编辑

php json_encode url链接出现双转义字符‘\\’和中文被编码的解决方法
摘要:在PHP开发中 json_encode方法使用的频率还是蛮高的。当数据中出现中文是,经过json_encode后,中文被编码了,不是显示的原中文字符。可以通过urlencode编码后,在使用json_encode,在输出时再调用urldecode(json_encode('key'=>'中国,你好!... 阅读全文

posted @ 2015-06-24 15:10 东云180 阅读(5490) 评论(0) 推荐(0) 编辑

php 图片等比缩放
摘要:1 /** 2 * @method 图片等比缩放 3 * @param string $srcImage 源图片路径 4 * @param string $toFile 目标图片路径 5 * @param integer $maxWidth ... 阅读全文

posted @ 2015-01-22 17:30 东云180 阅读(471) 评论(0) 推荐(0) 编辑

PHP输出中文乱码的解决方法
摘要:PHP输出中文乱码的解决方法 阅读全文

posted @ 2014-12-05 10:41 东云180 阅读(50481) 评论(0) 推荐(0) 编辑

php开发中的一些常用统计的日期
摘要:今天:'; echo date("Y-m-d",strtotime("now")), "\n"; echo date("Y-m-d H:i:s",mktime(23,59,59,date("m"),date("d"),date("Y")));echo '昨天:'; echo da... 阅读全文

posted @ 2014-12-01 09:42 东云180 阅读(282) 评论(0) 推荐(0) 编辑

Windows+Apache+PHP5配置
摘要:今天配置Windows+Apache+PHP时,遇到的问题,记录下供大家参考,也供自己以后参考!需要特别注意的:PHP v9版本的 非线程安全的 只适用于IIS,5.3版本的NTS版的没有php5apache2_2.dll;正文:一开始用NTS +VC9+5.3.28 PHP ,手动将php5apa... 阅读全文

posted @ 2014-10-27 14:47 东云180 阅读(280) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示