|
Posted by Chris Shiflett on 09/22/05 05:25
Graham Anderson wrote:
> Even though I am defining Content-type as 'video/quicktime',
> the output is still text/html
> Also, Content-Length is not outputting properly either :(
[snip]
> header('Content-Type: video/quicktime');
> header ("Content-Length:".strlen($xml));
You have a superfluous space in your Content-Type header, and you're
missing a space in your Content-Length header.
Those two need to share. :-)
Your other error is due to output being generated prior to the header()
calls.
Hope that helps.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
Navigation:
[Reply to this message]
|