Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

5.20. UploadProgress

UploadProgress是一个用于提供用户文件上传进度查看功能的PHP扩展,以便提高应用的用户体验.

# /srv/php/bin/pecl list-all | grep uploadprogress
pecl/uploadprogress  1.0.3.1          An extension to track progress of a file upload.
		
# /srv/php/bin/pecl install uploadprogress
# mv /srv/php-5.3.8/lib/php/extensions/no-debug-non-zts-20090626/uploadprogress.so /srv/php-5.3.8/lib/php/extensions/
		
		
cat >> /srv/php/etc/conf.d/uploadprogress.ini <<EOF
extension=uploadprogress.so
EOF
		
		
# /srv/php/bin/php -m | grep uploadprogress
uploadprogress
		
comments powered by Disqus