Home | Mirror | Search

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