The website I'm doing at the moment they want a URL generated with two unique numbers in it. Like this:

Only everytime a user clicks on this the id1 and the id2 should be different. I think you can do it with PHP using uniqid() function. Does anyone know where I can find out how to do that.