后端开发2025年08月09日
...
服务器2025年08月05日
Last login: Fri Dec 18 09:48:55 on ttys000lidongxiaodeiMac:~ lidongxiao$ cd /Users/lidongxiao/Documents/集金/JiJinFinance lidongxiaodeiMac:JiJinFinance lidongxiao$ git statusOn bran...
前端开发2025年07月05日
<!DOCTYPE html> <html> <head> <title>HTML5上传图片预览</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="jq...
前端开发2025年06月17日
html: <form action="/home/upload" method="post" enctype="multipart/form-data"> <input type="file" name="files" multiple/> <input type="submit" value="提交" /> <...
前端开发2025年06月07日
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>表单提交</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jqu...
前端开发2025年06月04日
关键技术 1、FormData 2、XMLHttpRequest 先在页面布局如下结构 <form > <label for="fileToUpload">Select a File to Upload</label> <input type="file" name="fileToUpload" /> <...
前端开发2025年05月29日
HTML5页面的图片上传功能在iOS端的实现。 首先,页面上用的是plupload组件,在wkwebview上存在两个坑需要修复才能正常使用。 问题:在webview上点击选择照片/相机拍摄,就会出现whose view is not in the window hierarchy这个错误。其实stackoverflow上有这个错误的解释,但是我们并不能采...
后端开发2025年05月12日
...
后端开发2025年05月09日
需要借助PHPExcel这个库 $excelPath = 'Test.xls'; $objReader = PHPExcel_IOFactory::createReader('Excel5'); $objReader-&gt;setReadDataOnly(true); $objPHPExcel = $objReader-&gt;load(...
后端开发2025年05月07日
1、客户端 file_get_contents($_FILES['img']['tmp_name']) //获取临时目录下的上传文件流,加密传给接口 2、接口处理端 $img = file_get_contents('php://input'); //获取最原始数据,所有的数据,必要时要进行截取 $path = './a.jpg'; $newFile = ...