pastrymastery Posted February 17, 2018 Share Posted February 17, 2018 so, i am making a login system where you have to enter your License key that you can buy from my Website, but how do i make that every bought license key instantly gets activated and you can login with it? connecting database Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 18, 2018 Share Posted February 18, 2018 The easiest way? Use WHMCS' own licensing addon . This should resolve your issue. You'll need to take a look at the licensing example (whmcs/modules/servers/licensing/check_sample_code.php), integrate that into your own script / system, but that should be a piece of cake if you've already developed the system Link to comment Share on other sites More sharing options...
pastrymastery Posted February 18, 2018 Author Share Posted February 18, 2018 I am already using it but i wanted to connect it to my database thank you so much for your help Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 18, 2018 Share Posted February 18, 2018 Like I said, take a look at the sample code. That will tell you what you need to do in order to get it working properly. This will take some customization on your part, that's something you should be familiar with already. If you look through the sample code I mentioned earlier, then you'll see what needs to be done to integrate WHMCS licensing with your own product. Link to comment Share on other sites More sharing options...
sentq Posted February 19, 2018 Share Posted February 19, 2018 On 2/17/2018 at 9:18 PM, oklomsy said: so, i am making a login system where you have to enter your License key that you can buy from my Website, but how do i make that every bought license key instantly gets activated and you can login with it? connecting database could you explain further what you need to achieve here, I might be able to help? Link to comment Share on other sites More sharing options...
pastrymastery Posted February 22, 2018 Author Share Posted February 22, 2018 (edited) nevermind i will just learn html and php later and then get going Edited February 22, 2018 by oklomsy cancelling Link to comment Share on other sites More sharing options...
Recommended Posts