[phorm] [Phorm:] Re: Registration Code

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 26 Jul 2004 12:56:56 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4215) Re: Registration Code 
            <http://www.phorm.com/support/?rev=4215> 
  AUTHOR:   Holotech 
  DATE:     July 26, 2004 at 8:56 a.m. EST 

  Reply To: (#4207) Re: Registration Code 
  Author:   Christian Zumbr 
  Date:     July 26, 2004 at 5:13 a.m. EST 

> you should be able to generate a presumably unique 
> registration code like this: 

> <?php 
> $registrationcode = md5(uniqid(rand(), true)); 
> ?> 

And if you want to make it more human-readable, split it into chunks. This is 
what I do with the Phorm registration keys. 

$RegID = ereg_replace("-$", "", chunk_split($id, 5, "-")); 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: