Hi there,
I’m using file_put_contents to download files to my server, but can’t find a way to show real time progress.
I have the file size, and as far as I can see, file_put_contents will return how many bytes that have been downloaded, but I can’t access that info in real time.
So in short - how would I get the bytes downloaded by file_put_contents and display them on a HTML page?
Cheers!