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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php