The best way to do this, afaik is to generate a unique md5 hash, say a hash of "username-password" or a hash of a random number, and store..
that way, you can send the user (using mail()).. http://<your-site>/confirm.php?s=<md5hash> == Kind Regards, Kyle Williamson Solent Educational Limited Tel: (023) 80 843189 Fax: (023) 80 848715 http://www.solented.co.uk/ -----Original Message----- From: Davy Obdam [mailto:[EMAIL PROTECTED]] Sent: 09 February 2003 19:04 To: PHP; PHP-WIN; PHP-DB Subject: [PHP-WIN] Confirmation e-mail Hello people., I am developing a website with a user login system, i would like to send an confirmation e-mail to the user when he/she registers for the site, asking for confirmation...for instance click on a link to activate thier account. My question is what would be the best approach to achieve this? How is this usualy done? Any thoughts and help is appreciated. Best regards, Davy Obdam -- -------------------------------------------------------------------- Davy Obdam - Obdam webdesignŠ mailto:[EMAIL PROTECTED] web: www.davyobdam.com -------------------------------------------------------------------- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php