1
wishcraft
License Key Validation - Unique Identifier

With the advent of PHP5 it has brought on the ability to CURL, SOAP and do heaps of things to do with intermixing databases on multiple site, say you wanted to uniquely identify your XOOPS site for comparison matrix's the best way to generate a hash to do with this is as follows:

$xoops_unique_hash md5(XOOPS_LICENSE_KEY);

// or

$xoops_unique_hash sha1(XOOPS_LICENSE_KEY);

// or

$xoops_unique_hash crc32(XOOPS_LICENSE_KEY);


This will provide for example with a key of:

cugucu-qkomsm-cc0maq-iagasm-ugomew

the follow hashes/checksums would be provided

SHA1: 7406f5515d0a0d2a0ef816db4e2a9ce74e356b4d
MD5: 85db0bef1c73423b5b21372efdbca9ba
CRC32: 2102698c

Or any other type of hashing to uniquely identify your system. This will also be used with a new systems that are developed using CURL, SOAP or any other method you could provide the unique to anywhere in a $_GET or via SOAP and XML or any form of communication.

2
hervet
Re: License Key Validation - Unique Identifier
  • 2009/10/24 6:56

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Quote:

wishcraft wrote:
With the advent of PHP5

Five years ago ...

3
wishcraft
Re: License Key Validation - Unique Identifier

Quote:

hervet wrote:
Quote:

wishcraft wrote:
With the advent of PHP5

Five years ago ...


Available here now!!

Login

Who's Online

230 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits