I am allowing users to upload images to a folder in the webdirectory for includion in the article they are posting. In order to make sure that there is no conflict with filenames, I am renaming each file as it goes up with mktime(). in other words: logo.gif turns into 1037673553.gif.
Is this the best way to do this, or would I be better of generating some sort of random number instead? Or should I just use one of the scripts that auto-increments a filename?
Thanks.