Can any one suggest me how to make the confirmation mail by PHP. Where the users who are new, after registering they will get a mail with a link by which the account will activated.
What is your issue? Is it sending the email or the problem is with the logic of how you should be writing the code for activating accounts?
Hi Joy, I do not have exact code, but I have an idea of how to do it. 1. Someone registers. 2. You create an email in your script that sends a link inside the email, with the session id included in the url. Also, insert the username, password, session id, and other user info into a database. 3. User clicks link. It takes him to a page, E.G. index.php?id=3249782skldf234lasdf. In the index.php page, you have a $_GET['id']. You query the database for a session id exactly the same as your $_GET['id']. If there is a match, finish registering the user. Sorry that I do not have an example, but I think that may help you understand the basic idea. Thanks
I am not sure what issues you are having. You should have something like a database field where it says unconfirmed / confirmed and then when user clicks the email link that field value changes. Is this the problem you are having?
I am also not sure what have you Issue actually. I think you should go through Google & Wikipedia and find the problem which is you have.