微信 网页授权获取用户基本信息(OAuth 2.0)
摘要:// 相关设置 $APPID = ""; $AppSecret = ""; $html = ""; // 拼接 URL // 跳转该连接 获取 CODE $url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=$APPID&
阅读全文
posted @
2016-01-30 14:55
小玥光
阅读(260)
推荐(0) 编辑
微信的 JSSDK
摘要:闲来无事,花了几个小时研究了下 微信的 JSSDK。 将学习中所用到的代码都复制到这儿,以后查看的时候方便点. PHP $AppID = ""; //APPID $AppSecret = ""; //APPSECRET $token_url = "https://api.weixin.qq.com/
阅读全文
posted @
2016-01-29 16:27
小玥光
阅读(345)
推荐(0) 编辑
ThinkPHP 学习记录
摘要:index.php //入口文件 define('APP_DEBUG',True); //开启调试模式 define('APP_PATH','./Application/'); //定义应用目录 require './ThinkPHP/ThinkPHP.php'; //引用入口文件控制类...
阅读全文
posted @
2016-01-03 21:19
小玥光
阅读(171)
推荐(0) 编辑