You are here: Re: download counter? « PHP Programming Language « IT news, forums, messages
Re: download counter?

Posted by Jerry Stuckle on 02/14/07 00:14

devospice wrote:
>> It shouldn't if you send the correct header information. The fact it's
>> coming from PHP should be completely transparent.
>
> It is. The PHP feed works fine. (http://www.thefump.com/cast.php)
> But pointing the link tag to a PHP file instead of an audio file
> generates a "this feed is not valid" error in iTunes.
>
> ->Later.....Spice
>

As I said - if the header is correct, it should be OK.

I looked at your link, but I didn't see any php files being pointed to -
just the mp3 files themselves.

I still suspect you're not sending the correct info in the header,
especially the content header. But you haven't shown us any code or
your php buffering.

Browsers are pretty loose about things. iTunes might be more stringent.

Of course, it's possible they could be looking at the file extension
instead of the content header. But that's defeating the purpose of the
header - and pretty stupid, IMHO. But it's still possible.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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