Just a minor point... You are creating $msg before you have made the confirmation ID. This means your message does not contain the confirmation id as it has not been created... Stephen ----- Original Message ----- From: "Anthony Ritter" <tony@gonefishingguideservice.com> To: <php-windows@lists.php.net> Sent: Friday, August 15, 2003 3:18 AM Subject: [PHP-WIN] email confirmation > /*process_a.php: which receives the name and email variables. The script > then tries to then send the note back to the user with a link - called > CLICK. When the user hits the link to email_verify.php the email address is > inserted into the database*/ > > <? > $msg = "Thank you for registering $name\n\n"; > $msg .= "<a > href=tony@gonefishingguideservice.com/email_verify.php?email=$email&confirma > tion_ID=$confirmation_ID>CLICK</a>"; > $secret_variable = "something_only_you_know"; > $confirmation_ID = md5($email.$secret_variable); > $to="tony@gonefishingguideservice.com"; > $subject="Thank you for registering"; > $mailheaders="From: Us"; > mail($to,$subject,$msg,$mailheaders); > ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php