Putting together a site - a user can input information, but I want to require the user to verify it via email -- my idea was to --
Submit it into a table as such
ID----Input----UniqueID----verified
1-----ABC------38fdjf93----0
2-----DFR------f30fkfa----0
3-----RRF------ef9afaef----1
when entered into the webiste email a link to the user with a hotlink to www.mysite.com/verify.php?uid=38fdjf93 , which if the user clicks on the link makes verified=1 which would mean to display it on the display.php page.
What I need is a way to generate a sensibly legnth (not too long) UniqueID. I was thinking base it on the current time and date... is there an easy way to do this?
hope that was english
Submit it into a table as such
ID----Input----UniqueID----verified
1-----ABC------38fdjf93----0
2-----DFR------f30fkfa----0
3-----RRF------ef9afaef----1
when entered into the webiste email a link to the user with a hotlink to www.mysite.com/verify.php?uid=38fdjf93 , which if the user clicks on the link makes verified=1 which would mean to display it on the display.php page.
What I need is a way to generate a sensibly legnth (not too long) UniqueID. I was thinking base it on the current time and date... is there an easy way to do this?
hope that was english