Receiving only chunks of an uploaded file in PHP?
<p>I'm making a simple PHP script which lets the user upload an image. These images are quite large, so I would like to display a progressbar so that the user knows how far the upload has progressed.</p>

<p>It is important for me not to use third party scripts in this case, and pure PHP, HTML and Javascript only (no CGI either, and no client-side technologies such as Silverlight or Flash either).</p>

<p>I have found some documentation regarding file upload in PHP, but only how to handle the final uploaded file once it is uploaded, and not save the file incrementally as it is received, which is needed in my specific scenario.</p>
