
测试curl 中遇到的错误
// 创建一个指向一个不存在的位置的cURL句柄 $ch = curl_init('http://mctool.wangmingchang.com/api/tool/email'); curl_setopt($ch, CURLOPT_RET...
// 创建一个指向一个不存在的位置的cURL句柄 $ch = curl_init('http://mctool.wangmingchang.com/api/tool/email'); curl_setopt($ch, CURLOPT_RET...
使用TCPDF首先从TCPDF官网获取最新版本:http://www.tcpdf.org。官网提供了几十个示例以及说明文档,下载解压后一定要注意文件路径,如何使用TCPDF,可以从以下5个步骤完成: 1、require_once导入tcpd...
这里使用的扩展是 MPDF, 下载地址:mpdf 相关代码 include('./module/mpdf/Mpdf.php'); $mpdf = new mpdf('zh-CN'); $mpdf->useAdobeCJK = true...
直播demo http://demo.zf.90ckm.com/index/tx/tx_zb 打开显示错误,是因为我现在没有进行直播 部分代码 /** * 获取推流地址 * 如果不传key和过期时间,将返回不含防盗链的url ...
下载扩展 https://packagist.org/packages/phpgangsta/googleauthenticator 使用: <?php //引入 require_once 'PHPGangsta/GoogleAuth...
分页可以使用 /admin.php/article/index/2/1.html?word=1 $url = __URL__ . ‘/’ . $_GET[‘_action’] . ‘...
最近在做这个日历签到的项目,在这里记录一下 使用的是calendar日历插件 不废话,直接提供源码 HTML页面 <!doctype html> <html> <head> <meta charse...
<?php /* * @link http://kodcloud.com/ * @author warlee | e-mail:kodcloud@qq.com * @copyright warlee 2014.(Shanghai)Co...
1、curl以GET方式请求https协议接口 //注意:这里的$url已经包含参数了,不带参数你自己处理哦GET很简单 function curl_get_https($url){ $curl = curl_init(); // 启动一个...
方法如下 public function import_member(){ $fileName = $_FILES['file']['name'];//文件名 $tmpName = $_FILES['file']['tmp_name'];/...