The Most Active and Friendliest
Affiliate Marketing Community Online!

“Propeller”/  Direct Affiliate

License Codes for a PHP Script

BenjArriola

New Member
affiliate
Ok, my script is done. I want to sell it. It is encrypted by Zend.
I want to sell my script online and wants to limit the license per domain.

What would be the best way to create license codes that are tied up to a domain name?

What I have in mind:

1. Some kind of algorithm based on the domain name. But I am no professional in coming up with some algorithm for the license code, probably whatever I think of, will be so easy for keygen makers to crack. But if anyone can give some tips to make it harder to crack, I'd really appreciate it.

or...

2. Generate a unique license code and save it along with the domain in some database. Bad thing about this is the script has to always connect to my server somewhere just to verify if the script is running on the right domain. This script will be cheap, less than $20 maybe. Not a big budget software and I may not have the server resources if many people install it already and keeps on pinging my servers just to see if they are running on the right domain.

What do you guys think is the best way to do this?
 
Tricky isn't it. I will need to come up with some licence control mechanism myself later this year and was thinking along the same lines as you.

Can't help you though. I think the safest way is your second option as you can change it over time whereas with option A your algorithm, once you've written it cannot be changed if cracked.
 
I went for option 2. And to make it even easier for me, I just used PHPLicenseScript.com and funny thing, after I paid, the download link didn't work. Good thing their online chat was quick and the dude emailed me the script.

Aside from that, documentation is bad. But if you understand PHP, you will get how to use his script. So far, it works for me.
 
banners
Back