You are here: Re: [PHP] Problems with headers « PHP « IT news, forums, messages
Re: [PHP] Problems with headers

Posted by Rasmus Lerdorf on 10/17/41 11:27

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация