Skip to content

Instantly share code, notes, and snippets.

@harshamv
Created January 5, 2013 06:16
Show Gist options
  • Save harshamv/4460095 to your computer and use it in GitHub Desktop.
Save harshamv/4460095 to your computer and use it in GitHub Desktop.
Generate UUID for Images
//UUID generator
function _imgName() {
return time() . substr(md5(microtime()), 0, 12);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment