We create website templates and plugins and we want to track who uses it.
We are looking for a basic php set of PHP code to be written which we can add to our templates, plugins and other pieces of code to:
1) Know which website our software or plugin is being used on
2) Remotely disable the plugin/template if we see it being used illegally
Data should be stored in a basic MySQL database with Auto increment ID, "plugin name" "URL".
The code we add to our code should be well encrypted and if removed all code should stop working.
Basic documentation is required