Alidad Posted April 23, 2008 Share Posted April 23, 2008 Hi, does anyone know where i can learn how to write code in php for someone registration and send confirmation by email to activity member by click link! i would appreication if you have sample code where i can learn how to write that code in php and mysql please or if there is tutorial link for that... AM Quote Link to comment Share on other sites More sharing options...
947740 Posted April 23, 2008 Share Posted April 23, 2008 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. Quote Link to comment Share on other sites More sharing options...
Fadion Posted April 23, 2008 Share Posted April 23, 2008 Have a look at this. Quote Link to comment Share on other sites More sharing options...
947740 Posted April 23, 2008 Share Posted April 23, 2008 Glad to know I had the basic idea... Nice tutorial by the way. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.