You are here: Re: Howto implement atomical actions « PHP « IT news, forums, messages
Re: Howto implement atomical actions

Posted by Manuel Lemos on 09/28/21 11:18

Hello,

on 06/11/2005 10:46 AM Andy Pieters said the following:
> I am developing a web interface to patch a program. The user uploads the
> patch and after uncompressing and verification of signature, the update
> should take place. However I do not want users to be able to start an update
> and then abort the process by stopping to load the page.

You can try using flock in exclusive mode on a lock file of a fixed file
name.

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

 

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

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