Hello friends im trying to make license system for my script.i want to fetch license key from text file.i have the coding for that.but i want match that text file value with users entered value at installation time.how i can do that in my install file please can any body help me in this.Thanks in advance.
If you have the code that reads license key from a text file, then your code probably should look like this: if($key_from_file == $_POST['key_entered']){ // license key OK, proceed with install } else{ die('Invalid license key!'); } But the problem is that anyone can modify your PHP code and cheat your license system. You'll need to use some php encoder like ioncube etc. to protect the part of your code where you verify license key.