CodeIgniter Forums

Full Version: Unique URL Part
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]freshface[/eluser]
For an application I need a unqiue key to view something.
But it also need to be 'safe', maybe sha encrypted?

ex: ww.url.ltd/uniquekey

But what is the best way to create such an unique key?

El Forum

[eluser]mihailt[/eluser]
timestamps+id ?

El Forum

[eluser]pistolPete[/eluser]
Have a look at the String Helper: http://ellislab.com/codeigniter/user-gui...elper.html

random_string() --> unique