![]() |
Creating license in wordpress plugin I would like to release a plugin but I would want to put in licensing. I would envision it as, upon purchase, my system will generate a code. The user will install the plugin and use the code. This code will be sent to my server, along with the URL sent from. Is there such code available? |
Re: Creating license in wordpress plugin |
Re: Creating license in wordpress plugin the best way i think is to use an API key system and then encode your PHP using something along the lines of Zend Guard... |
Re: Creating license in wordpress plugin Try easy digital downloads plugin and purchase the extension _https://easydigitaldownloads.com/extension/software-licensing/ |
Re: Creating license in wordpress plugin Quote:
$code = $_REQUEST['code']; if (empty($code)) exit; //You could validate it for length and other things here.. $response = file_get_contents('http://yoursite.com/somefile.php?code=' . $code); //Now do something with the response, for this example, I'll write it to a text file file_put_contents($response, 'response.txt', FILE_APPEND); |
Re: Creating license in wordpress plugin Guys, please read the post completely. Quote:
|
Re: Creating license in wordpress plugin Most if not all licensing schemes require encrypted of obfuscated code which many consider a bad thing. I rarely, almost never, will even consider a plugin or theme that incorporates it. Better would be to include automatic update from your server and registration of the sites required where installed. That way pirates would be stuck with obsolete, maybe buggy, code in the future. |
| All times are GMT -6. The time now is 08:01 AM. |