You are here: Re: Server Unique Identifier Question « PHP Programming Language « IT news, forums, messages
Re: Server Unique Identifier Question

Posted by David T. Ashley on 02/05/06 23:45

"Colin McKinnon"
<colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com> wrote in
message news:uhuFf.6096$Dn4.2149@newsfe3-gui.ntli.net...
>
> There's not a *better* way, although your proposal is not very efficent
> (80+
> bits a time / 18 decimal digits). (I would have used a counter with a
> mutex)

OK, let's say I do "counter with a mutex".

If I use MySQL to hold the counter, the mutex mechanism is obvious ("LOCK
TABLE ...").

However, if I hold the counter in a file, what is the best mutex mechanism
in PHP?

Thanks, Dave.

 

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

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