Reply to Re: download counter?

Your name:

Reply:


Posted by Jerry Stuckle on 02/09/07 17:33

devospice wrote:
>> Better then redirecting is to read file in php script, send to browser and
>> write to sql table after a file is complete send.
>>
>> 1. open file
>> 2. read file and send to browser until EOF
>> 3. increase counter in DB
>
> Just in case you don't see my other reply, the problem with this is
> it's a podcast. And pointing the RSS feed to a PHP document instead
> of directly at the MP3 breaks iTunes.
>
> - Tom
>

Tom,

It shouldn't if you send the correct header information. The fact it's
coming from PHP should be completely transparent.

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

[Back to original 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

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