10 2017 档案
php 中 用curl 发送 https 请求
摘要:在 php.ini 中修改配置选项 curl.cainfo = "D:\phpStudy\php\php-5.6.27-nts\pert\cacert.pem" 其中 cacert.pem 文件在我的云盘里边 阅读全文
posted @ 2017-10-20 11:16 阳光小白 阅读(255) 评论(0) 推荐(0)
如何用 php 读取一个很大的 excel 文件。
摘要:这个程序是用php 读取一个很大的excel文件, 先将 excel 文件保存成csv 文件, 然后利用 迭代器 逐行读取 excel 单元格的值, 拿到值以后 做相应处理,并打印结果。 <?php // 加载 GuzzleHttp 为发送 http 请求提供方便include_once('./ve 阅读全文
posted @ 2017-10-16 14:23 阳光小白 阅读(902) 评论(0) 推荐(0)