I made a custom PHP script I plan to sell. I will encrypt by ZendGuard. And will sell the license per domain. The license code should be correct for the installed domain. What would be the best way for me to implement this. If you know any 3rd party tools I can use also, please suggest any.
To run a script under a single, or selected domains, add this php code at the started of the main files: if ($_SERVER['server_name'] != 'www.ururl.it') { die('Not an allowed domain'); } PHP: You must check the content of the $_SERVER global variable. Use commas for multiple domains... And for selling licenses, check: http://solidphp.com/products/phpaudit/index.php http://www.phplicensescript.com/ http://www.phplicensepro.com/ (This was actually free, search on google, you may find a download link for free) Regards, campolar
shucks, I read your reply too late. I read another reply on another forum with only 1 of the websites listed above and I signed up right away with phplicensescript.com Now that I read your reply, I should have done a good comparison of the three before i made the decision. Anyway since I already paid for phplicensescript before I actually read this, I will use this for now. And thanks for the suggestions and I will try out the others in other future projects.