🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 1、制作添加相册的表单 upload.php ![](https://img.kancloud.cn/44/6c/446cfa17f9571951c75d06f67eb25ec6_709x256.png) ![](https://img.kancloud.cn/89/80/898048469792291e0e89fc2518419677_867x232.png) ![](https://img.kancloud.cn/ea/8e/ea8ea7f0a713885e2f663def43fce429_827x74.png) ## 2、表单处理程序 uploadSave.php ![](https://img.kancloud.cn/18/55/185505d54c3608c281c7c6acc5ac46d6_873x557.png) ![](https://img.kancloud.cn/e9/03/e903d184aaa04a022e63824dd635a5e0_982x506.png) ![](https://img.kancloud.cn/3e/b5/3eb587365560b30db411d7abb9d9c0d0_967x579.png) ## 3、finfo应用 修改php.ini配置文件,开启finfo扩展: ![](https://img.kancloud.cn/69/a6/69a6dec27ff0fdc7a22f8b89b61af481_599x47.png) ![](https://img.kancloud.cn/cb/e0/cbe035d63cfc1ad2e7baafe40bb7cc23_854x156.png) ![](https://img.kancloud.cn/d5/3c/d53c84f0be2996a43981812d2ce95fcb_848x251.png)