kadamsurekha Posted March 8, 2007 Share Posted March 8, 2007 hello friends! i m designing a website n i want registered users to login. i have registration form to enter email address n password. i would like to know how to create email ID as the username by sending an email to them on the email address given n then activate the account as it is in most of the newsgroups. can anyone help me plse bye n regards surekha Link to comment https://forums.phpfreaks.com/topic/41736-to-send-email-to-the-user/ Share on other sites More sharing options...
dhillarun Posted March 8, 2007 Share Posted March 8, 2007 U can use "mail()" function avilable in PHP to send unique activation link to the user's mail-id. Activation link may be a link page which contains activation link as argument. eg: http://www.example.com/activate.php?id=asd34asd4r8f3 And u can validate that activation code in that "activate.php" page. Link to comment https://forums.phpfreaks.com/topic/41736-to-send-email-to-the-user/#findComment-202354 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.