Displaying an upload progress bar
Especially when importing a large file, it's interesting to have a visual feedback on the progression of upload. Please note that the progress bar we are discussing here informs us only about the uploading part, which is a subset of the whole import operation.
Having a JavaScript-enabled browser is a requirement for this feature. Moreover, the web server's PHP component must have the JSON extension and at least one of these extensions:
- The well-know APC extension (http://pecl.php.net/package/APC), which is highly recommended anyway for its opcode caching benefits
- The
uploadprogress
extension (http://pecl.php.net/package/uploadprogress)
phpMyAdmin uses AJAX techniques to fetch progress information, then displays it ...
Get Mastering phpMyAdmin 3.4 for Effective MySQL Management now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.