会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Ritin
2017年3月28日
centos php gd
摘要: yum -y install libjpeglibjpeg-devel libpng libpng-devel freetype freetype-devel cd cd php/ext/gd/ /usr/local/php7/bin/phpize ./configure --with-png-di
阅读全文
posted @ 2017-03-28 16:00 Ritin
阅读(90)
评论(0)
推荐(0)
编辑
2017年3月22日
wamp环境下手机如何访问本地项目
摘要: 首先windows+r输入 cmd输入 ipconfig 查看到自己的ip,例如我是192.168.1.** 然后配置host127.0.0.1 192.168.1.** 开启http.conf # Virtual hostsInclude conf/extra/httpd-vhosts.conf
阅读全文
posted @ 2017-03-22 11:56 Ritin
阅读(3744)
评论(0)
推荐(0)
编辑
2015年8月21日
微信接口-发送内容到指定用户
摘要: function wx_sendtext($openid,$text,$appId,$appSecret) { $access_token = get_access_token($appId,$appSecret); $url = "https://api.weixin.qq.com/cg...
阅读全文
posted @ 2015-08-21 10:22 Ritin
阅读(298)
评论(0)
推荐(0)
编辑
微信接口-发送模板消息
摘要: // 发送模板消息function send_template_message($data,$appId,$appSecret){ $access_token = get_access_token($appId,$appSecret); $url = 'https://api.weixin....
阅读全文
posted @ 2015-08-21 10:18 Ritin
阅读(934)
评论(0)
推荐(0)
编辑
2015年8月18日
微信发送模板消息
摘要: // 发送模板消息function send_template_message($data,$appId,$appSecret){ $access_token = get_access_token($appId,$appSecret); $url = 'https://api.weixin....
阅读全文
posted @ 2015-08-18 16:28 Ritin
阅读(224)
评论(0)
推荐(0)
编辑
PHP 删除文件(图片)
摘要: /** * 删除图片或文件 * @author Zhenwei Zhang * @param string $pic 图片或文件地址 */function delpic($pic){ if($pic){ $url = strlen('http://'.$_SERVER['HTTP_H...
阅读全文
posted @ 2015-08-18 16:26 Ritin
阅读(13211)
评论(0)
推荐(0)
编辑
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理