Post: Licensing System
12-25-2015, 04:08 AM #1
Passion
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); I'm slowly starting to understand and learn PHP/SQL so i wrote up this licensing system.

Basically what this does is uses an api to check if the key is valid or not.

Features:
Login with license key.
View content for people that are logged in only.
Logout.
API System
Check if key is valid

Images:

You must login or register to view this content.
You must login or register to view this content.


Installation:

Upload the SQL file to PHPMyAdmin.
Make sure to edit the db.php file in /inc with your database details.
[/SIZE]

Download:

You must login or register to view this content.


Tiphat
Last edited by Passion ; 03-04-2016 at 02:33 PM.

The following 5 users say thank you to Passion for this useful post:

Helping-Hand, Dan, Pianist Prodigy, Specter, Sturmi :3
03-07-2016, 10:46 PM #20
whats the key that i put in to log on please reply
03-07-2016, 10:49 PM #21
Kam
Investor - Future Millionaire
Originally posted by Jack View Post
whats the key that i put in to log on please reply


You need to use a MySQL Database to add licenses, and use this.
03-07-2016, 10:50 PM #22
i have a database will you tell me how to add a key to the website please mate :]
03-07-2016, 10:51 PM #23
Kam
Investor - Future Millionaire
Originally posted by Jack View Post
i have a database will you tell me how to add a key to the website please mate :]


Did you configure the file under inc called db.php?
03-07-2016, 10:52 PM #24
Yes Mate I Did
03-07-2016, 10:54 PM #25
Kam
Investor - Future Millionaire
Originally posted by Jack View Post
Yes Mate I Did


Go to phpMyAdmin on your host then and run an SQL Query to insert a license.
03-07-2016, 10:56 PM #26
OK what should i call it
03-07-2016, 10:56 PM #27
and if you help me step by step your awesome
03-07-2016, 10:57 PM #28
Kam
Investor - Future Millionaire
Originally posted by Jack View Post
OK what should i call it


Did you go into phpMyAdmin first? I'll tell you the SQL Query to run. What is the name of the 2 columns? Is it ID and Keys?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo