shanejeffery86 Posted July 4, 2010 Share Posted July 4, 2010 Hey all. I have just written a very sought after PHP class and I do not want people pawning off my work as their own. I want people to have to register on my forum in order to be able to receive a key. With this key, they have to enter in the class file, and then somehow I need to validate the key. I am thinking of putting a validation function in the class and it hits an API that I create that responds back with whether or not the key is valid and whether or not the host machine is the one that the key is registered to. Does that sound like it would work? Any steps I could be missing? Thanks, Shane Link to comment https://forums.phpfreaks.com/topic/206669-validation-key-to-keep-from-non-legit-copies-of-code/ Share on other sites More sharing options...
travo1992 Posted July 4, 2010 Share Posted July 4, 2010 But if your server ever goes down, everyones copies of the class stop working. If for eg. a business is using your class and your server goes down and they lose profit because of you, you could be liable for damages. It costs a bit for the software, but I generally use Ioncube. Its fairly common now, so getting it running on hosts usually isnt a problem. Link to comment https://forums.phpfreaks.com/topic/206669-validation-key-to-keep-from-non-legit-copies-of-code/#findComment-1080892 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.