- 博客(6)
- 收藏
- 关注
原创 php 微信获取openid
<?php header("Content-type: text/html; charset=utf-8"); $code = $_GET["code"]; $html = $_GET['state']; if(empty($code)){// 如果CODE为空,取CODE $APPID='XXXX'; $REDIRECT_URI='http://zss.XXXX.com/openid/in
2017-06-28 18:51:39 1083
原创 阿里云OSS上传图片,图片处理
下载阿里云OSS PHP demo git https://github.com/aliyun/aliyun-oss-php-sdk?spm=5176.doc32099.2.1.kErQam demo结构如下 <?php use OSS\OssClient; use OSS\Core\OssException; require_once "../alioss/autoload
2017-06-17 15:29:51 5145
原创 thinkphp使用原生语句多表查询
public function jifenjilu(){ $Model = new Model(); $sql = 'select m.id,m.token,m.message,m.wecha_id,m.time,u.wechaname from pigcms_member_card_message as m, pigcms_userinfo as u where
2017-06-12 10:42:32 1168
原创 python urllib简单用法
#!/usr/bin/env python # -*- coding: UTF-8 -*- from urllib.request import Request from urllib.request import urlopen from urllib import parse ##简单获取网页源码 #html = urlopen("http://www.baidu.com"
2017-06-10 09:52:32 350
原创 PHP PHPExcel导入excel表格订单
require '../phpexcel/Classes/PHPExcel/IOFactory.php'; //PHPExcel git地址:https://github.com/PHPOffice/PHPExcel //获取文件类型后缀 function extend($file_name){ $extend = pathinfo($file_name); $exten
2017-06-06 10:47:58 1269
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人