PHP上传进度条 [英] PHP upload progress bar

查看:142
本文介绍了PHP上传进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试使用php使用Amazon S3 sdk创建带有进度的上传.我的本地XAMPP服务器中的apc工作正常,并为本地系统使用了以下代码

http://www.johnboy.com/php-upload-progress-bar/

但是,在s3服务器上尝试同样的操作时会遇到困难.确切地说,我正在使用create_object().

http://docs.amazonwebservices.com/AWSSDKforPHP/latest/#m=AmazonS3/create_object

在本地驱动器上,php的move_uploaded_file()工作正常,并显示进度条.请建议我如何调整上面的代码以使用s3.

谢谢

Hi,

I am trying to create upload with progress using the Amazon S3 sdk using php. I have apc working fine in my local XAMPP server, with the following code for the local system

http://www.johnboy.com/php-upload-progress-bar/

But the difficulty arises when trying the same with the s3 server. To be exact i am using create_object().

http://docs.amazonwebservices.com/AWSSDKforPHP/latest/#m=AmazonS3/create_object

On the local drive the move_uploaded_file() of php works fine and displays the progress bar. Please suggest me how can i tweak the above code to work with s3.

Thanks

推荐答案



请访问以下文章
带有进度条的ASP.NET文件上传 [
Hi,

Please visit following article
ASP.NET File Upload with Progress Bar[^]

It''s developed in ASP.Net but you can reuse it Javascript, CSS and HTML for progress bar. just you need to change only thing is server side code.

I will help you whenever required.
Thanks,
Imdadhusen


这篇关于PHP上传进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆