Welcome to WebmasterWorld Guest from

Forum Moderators: LifeinAsia

Message Too Old, No Replies

How do I make license codes?

I made my own script I want to sell, but want's to limit the usage/domain

7:42 pm on Apr 13, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 10, 2006
posts: 47
votes: 0

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.


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.

Thanks in advanced

5:46 pm on Apr 15, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 10, 2006
votes: 0

I found a solution. I was more of option 2 and used a 3rd party script licensing script.

I know WW is very strict with promoting scripts and tools on the forum. So I'll just say I got my problem solved. :) No need to answer.