How do I make a Email validation

How do i make a url contains a random string only when user visit it the registration will be completed?

By looking at how Yii-user extension does it. ;)

Thanks for your advise, I’ll take it into account. But I think it bothers using an extension.

I have a thought:

1.add columns MD5 and status in user table;

2.create an action validate in user controller use MD5 as parameter and render validate view;

3.when visit this url set user status correspond to this MD5 activated.

Is this practical? Any suggestions?

More or less “correct”. :)

I didn’t say that you should use the module / extension, but look at how they implemented it. ;)

Browsing through the code would answer many questions.