I have a script using php to store serial numbers and credentials.
1 = invalid or unsuccessful
-1 = successful or valid
I am writing a script using PHP to get the serial number and credentials. My problem is have a user when they uninstall the program or software, they can't reuse their credentials and serial that was provided. I want to write a script that will allow a user after uninstalling the program to reuse their credentials and serial number to reinstall the program. I have a token system in my script that -1 equals successful serial number and 1 equals invalid credentials. How would I write script for this?
I have used the code already provided by your website. Really helpful.
https://www.advancedinstaller.com/user- ... de-sn.html