reborn/reborn-upload
Composer 安装命令:
composer require reborn/reborn-upload
包简介
图片上传
README 文档
README
图片上传
demo
<?php
namespace app\index\controller;
use reborn\fileupload\FileUpload;
class Index
{
public function upload()
{
$file=(new FileUpload())->upload_local();
return $file;
}
}
html
<form action="/index/index/upload" enctype="multipart/form-data" method="post">
<input type="file" name="file" /> <br>
<input type="submit" value="上传" />
</form>
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-18