Generating License Codes for Distribution
| From: | Bruce | Date: | Tue, 07 Mar 2006 01:12:54 +0000 |
| Subject: | Generating License Codes for Distribution | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231569@lists.php.net to get a copy of this message | ||
I am looking for some PHP code that will allow me to do something like take
a string name, an expiration date, and a 16-byte key and generate an 8-byte
license code in the form of
FFFF-FFFF-FFFF-FFFF
I have some Windows code that I've used for years, and I successfully ported
it to PHP, only to find out that different systems treat integer overflows
differently.
--Bruce