You are here: Re: Download completion detection « PHP Programming Language « IT news, forums, messages
Re: Download completion detection

Posted by Sjoerd on 02/18/06 20:36

Mickey wrote:
> Is there a way to find out when a user has completed a download?

You can let a PHP script supply the download:

<?php
readfile('download.exe');
database_query('UPDATE downloadcount SET number=number-1');
?>

Beware of the maximum execution time: if the download takes more than
30 seconds, it will abort. See set_time_limit().

 

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

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