3 ms·
> Sending messages to a PHP server script so you can have the server tell you how many bytes were sent? Psst.. XMLHttpRequestUpload † It's the downloading wit
by huhtenberg 15y ago
> Sending messages to a PHP server script so you can have the server tell you how many bytes were sent?
Psst.. XMLHttpRequestUpload
† It's the downloading with Ajax that is the problem. There's no way to tell how big the file is.
- meanguy 15y agoPsst.. var xhr = $.ajax({ type: "HEAD", ... xhr.getResponseHeader('Content-Length') I wound up using Silverlight. Sigh.