in reply to Renaming an image file
Hi,
I know a 'random-unique' number was requested and lots of good suggestions have been made, but just in case the unique bit is all that is necessary...
Store a number in a db, a flat file would do, and increment it for each file renamed.
This should guarantee uniqeness.
J.C.