You are here: Re: auto delete file after download « All PHP « IT news, forums, messages
Re: auto delete file after download

Posted by J.O. Aho on 03/13/07 11:58

kick ass wrote:
> Hi,
> this is my question:
> I have a link to some file (file.zip) on my page.
> I would like that this file is automaticaly deleted from server after user
> downloads it.
>
> So, user clicks right mouse button, chooses "Save target as..." and than
> saves it.
> How to make script that deletes file from server after it's been
> downloaded??

If using php, you add a form+button at the page which the user has to
press after the download has finished, this as php don't have magical
powers to see when someone finished the download.

--

//Aho

 

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

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