I have a script the I want to put a license on it so when I sell it, it won't be leak or share with other people. So I have to add the license first so the script will work for them. I want to use a base md5 license for my script. I have found a code for it but it only work for my domain/site. But if I try to add other people license it doesn't work for their site only mines. If I don't add the the license then their is a md5 license appear on the site like: Invalid license key 16b8f7696aad909443db01cff2af9a88OMAINNAME.COM Which I have to add the 16b8f7696aad909443db01cff2af9a88 into my site with their domain name as in text with the hash: 6b8f7696aad909443db01cff2af9a88 to make the license work. Heres the code: include "config.php"; $key = $_SERVER['HTTP_HOST']; $md5 = md5($key); $myFile = "http://domain.com/php/".$key.".txt"; $fh = fopen($myFile, 'r'); $license = fread($fh, 5000000); fclose($fh); if ($license == $md5) { But I want it to make it work with me and other site when I add the license. Cause the code right now doesn't work for any body but only me. I have try useing http://www.phplicengine.com/ but I don't know how it work or anything after I got it install. If anybody that knows howw to use http://www.phplicengine.com/ may you help me? Thanks...
Sorry for my bad English. I want a script that will be able to put a license on a script. Such as php license script protection.
Those are easily to be decoded. Even I could decode them. What Im looking for is something similar to phplicengine,iono,spbas ect.
well its simple. you cannot protect your PHP source code thats for sure.. sooner or later crackers will decode it and your script will get nulled easily.. so here is my 2 cents. 1- try to lower your prices as much as possible so crackers wont waste their time cracking a very cheap software. 2- spend your time on the functionality of the script not security.. or you change your script to windows application which allows you to use wide range of techniques to enhance the security of your program. there is a tool can help you to develop windows applications using simple PHP language. called PHPEXE google it..
Wouldn´t it be better for him to use a language that can use Compiled CGI instead in that case.. That way it can be runned on linux / unix and windows servers. Having a website software that only is supported on windows would actually make him lose alot of money since the people running unix/linux servers wouldn´t buy it since they wouldn´t be able to run it.. And why not build a similar system that vbulletin uses.. most people buys it. and most people will buy your script aswell if they feel it´s worth the money. There will always be crackers that nulls / cracks scripts, apps or games most companies include this in their estimated profit calculations.
I would like the system vbulletin uses but I do not know how to build something like it. Well true that their are cracker that null script. But a little more protection is better than nothing right?