01 2016 档案
摘要:$data = Weann\Socialite\Facades\Socialite::driver('wechat')->user();//是字符串 $data=json_encode($data); $data=json_decode($data);
阅读全文
摘要:function https_post($url,$data = null){$ch = curl_init ();curl_setopt ( $ch, CURLOPT_URL, "http://127.0.0.1/api/wx/active/active_list" );curl_setopt (...
阅读全文
摘要:http://www.phalapi.net/wikis/
阅读全文
摘要:function getExif($img){$exif = exif_read_data($img, 'IFD0');return array ('文件名' => $exif['FileName'],'器材品牌' => $exif['Make'],'器材' => $exif['Model'],'快...
阅读全文
摘要:/** * 生成唯一订单号的算法 */ public function build_order_no(){ return "ID".date('Ymd').substr(implode(NULL, array_map('ord', str_split(substr(uniqid(...
阅读全文
摘要:ThinkPHP/Conf/convention.php'CONTROLLER_LEVEL' => 1,修改成'CONTROLLER_LEVEL' => 2,
阅读全文
摘要:网址:http://www.8ru.org/weixin-js-sdk.html下载demo:http://demo.open.weixin.qq.com/jssdk
阅读全文
摘要:";var_dump($arr);die;?>
阅读全文