hlstriker Posted November 19, 2008 Share Posted November 19, 2008 I'm trying to make a script to stream a flash video. Everything works fine except the headers don't send until the script is done executing. This is bad because the script needs to throttle the bandwidth which makes the script load very slow. Is there a way to force the headers to the client browser as soon as they are called in the script? header("Content-Type: video/x-flv"); header("Content-Length: " . $fileSize); SomeForceHeaderFunction(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.