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(); Link to comment https://forums.phpfreaks.com/topic/133264-slow-header-output/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.