generating a unique file name
Posted: Mon Nov 20, 2006 4:39 am
Hi
My site allows users to upload a number of images to the web server. What I would like to do is generate a unique filename for each file uploaded so as I don't have the problem of 2 or more users uploading an image with the same name.
Is there a function to achieve this?
Thanks in advance
My site allows users to upload a number of images to the web server. What I would like to do is generate a unique filename for each file uploaded so as I don't have the problem of 2 or more users uploading an image with the same name.
Is there a function to achieve this?
Thanks in advance