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
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
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
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
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