PHP execute code before file upload finishes
<p>Usually, PHP waits before file uploads and request completes before executing the script, it's forming $_POST and $_FILES arrays for our usage needs. But what if we need to i.e. inform other users on the project that user 'xro' started to upload some big video file?
So, how can I make PHP execute my code before the file upload finishes? Is turning off "enable_post_data_reading" (this flag is available since 5.4) is the only way to achieve this?</p>

<p>Thanks in advance.</p>
