Sunday, 29 September 2013

generate random string in php for file name

generate random string in php for file name

How would I go about creating a random string of text for use with file
names?
I am uploading photos and renaming them upon completion. All photos are
going to be stored in one directory so their filenames need to be unique.
Is there a standard way of doing this?

No comments:

Post a Comment