Comments (7)
理论上来说只要将后缀添加后是不限制任何上传的,但是由于本程序是专注于图片的,在file.php文件引用的类:class.upload.php更多的功能是提供给图片的,所以来说更需要修改是file.php及其引用的类,所以要加一个判断就是对于非图片的处理,由于我只针对于图片,所以给能给你建议,更多的功能需要你自行更改。
from easyimages2.0.
赞,已成功上传
from easyimages2.0.
赞,已成功上传
可以发过来参考一下。
from easyimages2.0.
from easyimages2.0.
from easyimages2.0.
。。。明明是你自己关闭的。
from easyimages2.0.
怎么把我的提案删掉了? 还有就是你不是作者嘛,你都说了方向了,怎么还问我怎么改的 我把file.php里的“$handle->allowed = array('image/');”添加多一个“video/“。还有就是把config/config.php里的” 'extensions'=>'bmp,jpg,png,tif,gif,pcx,tga,svg,webp,jpeg,tga,svg,ico'“添加多mp4之类的视频名称后缀就好了。
…
________________________________ 发件人: icret @.> 发送时间: Tuesday, November 30, 2021 6:27:42 PM 收件人: icret/EasyImages2.0 @.> 抄送: doullse @.>; State change @.> 主题: Re: [icret/EasyImages2.0] 支持视频的提案 (Issue #14) 赞,已成功上传 可以发过来参考一下。 ― You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMDBERBHNGJCMIHTL4JMO7LUOSRJ5ANCNFSM5I4Y5A3A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
视频上传后可以在线播放吗?
from easyimages2.0.
Related Issues (20)
- 广场显示所有上传的图片 HOT 1
- 使用api上传提示204错误 HOT 1
- 如何修改为无视单文件上传100M的限制?
- 关于验证码在php8.0环境下显示不出来问题 HOT 1
- Feat|>希望能添加docker部署 HOT 3
- 我反向代理了端口,显示界面出错
- TinyFileManage无法正常使用
- 希望支持docker HOT 1
- Mixed Content Issue When Accessing Resources Over HTTPS HOT 2
- edge浏览器,首页上传的粘贴功能无效 HOT 1
- 2.0版本安装环境监测时遇到问题 HOT 4
- 怎么获取最近上传的图片URL? HOT 1
- 输入账号密码后点击登录,总是回跳到登录页面
- API说明文档中python示例测试不成功,payload参数应该怎么设定? HOT 1
- 不知道为什么PHP搭建的项目总是被挖矿 HOT 2
- 查看已经上传图像的链接 HOT 1
- 隐藏存储路径不生效 HOT 7
- 登录重复跳转问题 HOT 2
- 求求求!!!后台删除图片了还能显示, HOT 1
- 安装完之后主页出现的错误提示
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyimages2.0.