Please help with license algorithm
HiI'm writing my software now and will be selling it soon. I want to create the license system, like Cpanel, Modernbill or phpmanager have.
Can somebody help and tell me how it works? I don't need scripts, just need to know how it works.
I have two ideas in my mind but not sure they are good
1) Script checks connects periodically with server and checks if domain has the license
2) Script listens to some port. While registration it sends the info to the server notifying that software was installed. Server connects to installed software by given port and checks if license exists for that domain.
If anybody has other ideas, please share. Appreciate it
null