![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
西天取经,十万八千里
这个作者很懒,什么都没留下…
展开
-
使用phpstudy部署php项目
1、搭建虚拟服务器 注意:网站目录在TP项目的public下 2、打开hosts创建虚拟域名映射端口 注意: #要去掉 3、在vhosts中添加伪静态处理代码(不添加这个进不去controller!!!) if (!-e $request_filename) { rewrite ^(.*)...原创 2019-04-15 19:54:08 · 1619 阅读 · 0 评论 -
PHP图片拼接util
签名图片拼接 <?php header("Content-type: text/html; charset=utf-8"); $res = new createIng(); $filename = "123" . '.jpg'; $reply = array(); $reply['font1'] = 905; $reply['font2'] = 905; $reply['reply...原创 2019-07-22 14:16:45 · 407 阅读 · 0 评论 -
TP5.1+PHPExcel导入导出excel
一、导入excel 1.读取文件 //信息导入 public function upload() { // 获取表单上传文件 $request = new Request(); $file = $request->file('excelData'); //文件保存路径 $rootPath ...原创 2019-08-23 14:12:08 · 1528 阅读 · 0 评论