Welcome Guest, Not a member yet? Register   Sign In
bypass controller and modify headers for flv output
#2

[eluser]jtkendall[/eluser]
You shouldn't need to echo the headers. You're just setting them.. Change your code to:

Code:
header("Content-Type: video/x-flv");
header("Content-Disposition: attachment; filename=\"" . $filename . '"');
header("Content-Length: " . $filesize);

and see if it works.


Messages In This Thread
bypass controller and modify headers for flv output - by El Forum - 09-29-2008, 06:12 AM
bypass controller and modify headers for flv output - by El Forum - 09-29-2008, 08:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB