php-windows Digest 15 Aug 2003 14:39:36 -0000 Issue 1872
Topics (messages 21159 through 21160):
Re: email confirmation
21159 by: Stephen
Looking for Debugger program.
21160 by: Alejandro C. Garrammone
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
[EMAIL PROTECTED]/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="[EMAIL PROTECTED]";
> $subject="Thank you for registering";
> $mailheaders="From: Us";
> mail($to,$subject,$msg,$mailheaders);
> ?>
--- End Message ---
--- Begin Message ---
Someone know how to find a debugger program for PHP?...because it's hard to
debug with the Notepad.
Thxs in advance,
Alex
--- End Message ---