Re: cgi app runtime unique identifier.

2007-09-02 Thread Tim Bowden
Thanks all, I've now got enough info to solve the problem. Regards, Tim Bowden On Sat, 2007-09-01 at 09:34 -0700, Tom Phoenix wrote: > On 9/1/07, Tim Bowden <[EMAIL PROTECTED]> wrote: > > > I'm writing a small cgi app that takes an uploaded file, stores it on > > disk and does some operations to

Re: cgi app runtime unique identifier.

2007-09-01 Thread Gunnar Hjalmarsson
Tim Bowden wrote: I'm writing a small cgi app that takes an uploaded file, stores it on disk and does some operations to it. To avoid multiple instances clobbering each other, I think I need to find a unique key to use in creating a dir specifically for use by that instance. Can anyone point me

Re: cgi app runtime unique identifier.

2007-09-01 Thread Tom Phoenix
On 9/1/07, Tim Bowden <[EMAIL PROTECTED]> wrote: > I'm writing a small cgi app that takes an uploaded file, stores it on > disk and does some operations to it. To avoid multiple instances > clobbering each other, I think I need to find a unique key to use in > creating a dir specifically for use

Re: cgi app runtime unique identifier.

2007-09-01 Thread kenpeng
Generally I use process id + timestamp to create the unique key.like, $uniq_key = $$ . time(); - original Nachricht Betreff: cgi app runtime unique identifier. Gesendet: Sa 01 Sep 2007 17:22:00 CEST Von: "Tim Bowden"<[EMAIL PROTECTED]> > I'm writing a sma

cgi app runtime unique identifier.

2007-09-01 Thread Tim Bowden
I'm writing a small cgi app that takes an uploaded file, stores it on disk and does some operations to it. To avoid multiple instances clobbering each other, I think I need to find a unique key to use in creating a dir specifically for use by that instance. Can anyone point me in the right direct