You are here: Re: downloading a file from a protected directory after payment « All PHP « IT news, forums, messages
Re: downloading a file from a protected directory after payment

Posted by Cujo on 10/01/86 11:31

J.O. Aho wrote:

> Of course you will need to delete keys, this can be more difficult as you need
> to know if the person has managed to download the whole mp3 or not, but when
> you are sure that someone has downloaded the file, then delete the key.

Or better, give him - say - 1 week do download the file, and
periodically delete all keys after they expire.

Or better still, have them auto-expire, ie: if the key is valid AND
create_stamp - now() < 1 week, THEN download.

f.
--
Cujo.
<fra@despammed.com>

 

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

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