PHP script - flush function
$30-250 USD
Paid on delivery
We have a script that contains a flush () function-- and this flush is not working, which is causing the script to not work in an optimized way.
The PHP script allows users to download MP3 files. Currently, the PHP script reads the entire MP3 file (can take a few minutes) and then "streams" the MP3 to the user. Causing users to wait a few minutes for a download to start creates confusion and customer support issues.
The flush() function of PHP isn't sending the data to the users browser until the entire file exits (the file has been read through completely).
With the flush function working, the script will start the download almost right away.
Some trial and error on server settings, php settings, etc. needs to be attempted to get this flush function working. This is a rare issue- as hundreds are servers are running this script with the flush function working as designed.
We must be missing something, so we need some help to get a new pair of eyes to solve this.
Experience, diligence and an instant start time is a must.
We want to get this solved within 2 days of start time.
Project ID: #718916