I need to generate a unique string in PHP.
Currently I'm using a technique like this
$clipId = base_convert(microtime(), 8, 36);
However, as this is based on time, the ID changes when the page is re-rendered, and I need to to always remain the same.
If there would be a way to feed in the image URL and the post-title as strings to output an alphanumeric ID, that would be perfect, and 'random' enough for what I need to do here. Also if it were possible to get the unix-time the image was uploaded to Wordpress (together with the time the unix-time the post was created), I could use that.