Re: Problems with headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Graham Anderson wrote:
> Thanks Rasmus :)
> that is an incredibly cool tip: EOB
> Surprised I did not see you at the Digital Rights [hollywood digital]
> conference in LA early this week.
> Upside: Free sushi and an ocean view. Downside: Lots of 'agency' types
> and sales folk....
> 
> 
> when  I access a straight movie file with no php, fonovisa.mov,
> everything looks good when I curl it
> HTTP/1.1 200 OK
> Date: Thu, 22 Sep 2005 16:52:45 GMT
> Server: Apache/1.3.33 (Unix) PHP/4.4.0 FrontPage/5.0.2.2510
> Last-Modified: Tue, 20 Sep 2005 17:58:39 GMT
> ETag: "1b28dcc-e3-43304dcf"
> Accept-Ranges: bytes
> Content-Length: 227
> Content-Type: video/quicktime
> 
> * Connection #0 left intact
> * Closing connection #0
> <?xml version="1.0"?>
> <?quicktime type="application/x-qtskin"?>
> <skin>
> <movie src="../../fonovisa.mov"/>
> <contentregion src="../images/mask.gif"/>
> <dragregion src="../images/drag.gif"/>
> </skin>
> --------
> 
> If I use PHP to generate the same output, I get the error: can not
> modify the headers.
> Could the file extension, .php, somehow be preventing the php script
> from outputting properly ?

Do this:

od -c filename.php

And send us the output.  If it is really long, put it online somewhere.
 You have a stray carriage return or some other weird character in there
somewhere.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux