Ok, I know I run the risk of looking like a dumbass here but (assuming a Unix platform) what's wrong with $$ . time()? Is the risk that so many processes are created within one second that the PIDs roll over?
Re: Re: Is it possible to generate unique temporary filenames using hostname/process id?
Download Code Replies are listed 'Best First'.