Even sending a header will mean nothing if the browser does not have a plugin it can use to play the file in the browser itself.
Basically unless the browser knows what to do with a file it will attempt to download it.
IE will usually try to get Windows Media Player to play it, unless something else is associated with the type of file.
However this actually has nothing to do with PHP.
A simple link can make the file play if the browser knows what to do with it.
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
My browser i will be using is safari, and internet explorer...
When I use Safari to open mp3`s it opens them in quicktime but not when I open mp4`s it just downloads them....????
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.