Upload Progress Bar in PHP(PHP中的上传进度条)
问题描述
有谁知道如何在 php 中获取上传进度条?我正在尝试为相册上传器编写代码.我想在照片上传时显示一个进度条.
Does anyone know how to get a progress bar for an upload in php? I am trying writing code for a photo album uploader. I would like a progress bar to display while the photos are uploading.
我对 php 还很陌生,所以我对它一无所知.
I am fairly new to php so I dont know everything about it.
推荐答案
这是迄今为止(经过数小时的谷歌搜索和尝试脚本)我发现的最简单的设置和最好的上传器
This is by far (after hours of googling and trying scripts) the simplest to set up and nicest uploader I've found
https://github.com/FineUploader/fine-uploader
它不需要APC或任何其他外部PHP库,我可以在共享主机上获得文件进度反馈,并且它声称支持html5拖放(个人未经测试)和多个文件上传.
It doesn't require APC or any other external PHP libraries, I can get file progress feedback on a shared host, and it claims to support html5 drag and drop (personally untested) and multiple file uploads.
这篇关于PHP中的上传进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:PHP中的上传进度条
基础教程推荐
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何替换eregi() 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
