every body has it's own file. the filename is the md5 sum
> Not sure how to do this.
> Could you explain this a bit more please?
>
>> Write semaphores with the md5 of the ip into
>> the file system and delete semaphores older 3 minutes.
>
> If I wrote the value to a flat file and 2 people accessed it at the same 
> time, what would happen.
> I know that's unlikely, but would it still work?

every body has it's own file. the filename is the md5 sum:

/tmp/semaphores/mypage.com/8945gc4875c384753.sem

the content does not matter... 



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to