I may have skipped it elsewhere on SO, but if there is a way to track it graphically? When I have a ≈300MB
media file copied on a local server (note, not remotely)
, the entire browser tab is busy, showing the rotating favicon only, till the copying is done. Then only does the page show any info intended for display (file size, destination space available, etc.)
before the operation. Any hints will be much appreciated.
使用进度条跟踪php copy()
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- duanba8173 2015-10-23 11:32关注
Because PHP is server sided it responses when the script is done. And not in between. The browser tab is just waiting for a server response.
This means that its not possible with pure PHP.
So if You want to follow progress you need to make it async. I suggest to look into AJAX.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 乌班图ip地址配置及远程SSH
- ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
- ¥15 PSPICE制作一个加法器
- ¥15 javaweb项目无法正常跳转
- ¥15 VMBox虚拟机无法访问
- ¥15 skd显示找不到头文件
- ¥15 机器视觉中图片中长度与真实长度的关系
- ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
- ¥15 java 的protected权限 ,问题在注释里
- ¥15 这个是哪里有问题啊?