PHP
粤小七
这个作者很懒,什么都没留下…
展开
-
ThinkPHP微信自定义分享Demo
一、类定义 php class JSSDK { private $appId; private $appSecret; public function __construct($appId, $appSecret) { $this->appId = $appId; $this->appSecret = $appSecret; } public fu转载 2017-05-02 22:29:52 · 1618 阅读 · 0 评论 -
PHP之curl实现http与https请求的
http get请求: $url = 'http://www.jb51.net'; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_HEADER, 1); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $data = c原创 2017-04-28 21:54:56 · 5787 阅读 · 0 评论