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

Posted by Rik on 02/09/07 16:39

On Fri, 09 Feb 2007 16:33:48 +0100, devospice <spice@suddendeath.org> =

wrote:

> On Feb 7, 11:03 pm, "lorento" <laurente1...@yahoo.com> wrote:
>> I think you can make simple php application for count the download,
>> like:
>> when people clickhttp://host/download.php?file=3Dxyz.zip, the
>> download.php will increase the counter and the people will forwarded
>> into file xyz.zip
>
> That's what I'm doing for some other files on the site. I'm just
> storing the count in a MySQL table.
>
> I can't do that with these files though, because they're MP3s from a
> podcast. I can do that with the direct links on the web page, but
> people who download the files via iTunes will bypass that link. And
> changing the RSS feed to point to the PHP page instead of the MP3 page=

> breaks iTunes.

Why does it break things? It shouldn't.

Then again, maybe an easier solution is just to parse the access log of =
=

the server. Or maybe a javascript counter, allthough somewhat unreliable=
..
-- =

Rik Wasmus

 

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

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