> What I am trying to do is to create a email verification routine with
PHP.
> When people register on the site they will get an email sent to them
with
> a
> link such as
http://mysite.com/activation.php?ID=ghjghjg367ghjlkj9hjlkjhn0
>
> That way when they click on the link it will verify the code
on 13/03/03 5:49 AM, Mike Walth ([EMAIL PROTECTED]) wrote:
> Hello:
>
> What I am trying to do is to create a email verification routine with PHP.
> When people register on the site they will get an email sent to them with a
> link such as http://mysite.com/activation.php?ID=ghjghjg367ghjlkj9hjlk
At 19:56 12.03.2003, you said:
[snip]
>On Thursday 13 March 2003 02:49, Mike Walth wrote:
>
>You have started a new thread by taking an existing posting and replying to
>it while you changed the subject.
>
>...etc...
[snip]
The method I use is to take their user_id or email and create an HMAC
(hashed message authentication code) by hashing it with a secret key on
my end. This way the activation link looks like the following:
http://mysite.com/activation.php?user_id=petej&ID=ghjghjg367ghjlkj9hjlkj
THe activation scr
Mike,
This is can be simple or complex depending on how complex you get.
Here is an example that should work.
function getRandString()
{
$NumOfElements = 5; // Chooses that number of elements from the
Element Array
$ElementArray =
array(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z);
On Thursday 13 March 2003 02:49, Mike Walth wrote:
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells
6 matches
Mail list logo