[BETA][Release] Serial System

Posts 1–9 of 9 · Page 1 of 1
[BETA][Release] Serial System
This is a release brought to you by the Official MPGH Programing Development & Design Team
Coded by: Kevin(Blubb1337)

~ Information ~

I created a system within VB.Net and PHP to easily manage a serial.

Important: THIS SYSTEM DOES WORK WITH DATABASES THAT DO NOT ALLOW EXTERNAL ACCESS!!!

You can therefore use any free database in the ********* rather than paying for one that allows external access.
The whole system works locally, so it does not require any external access.

It is very easy to setup and use.

~ Files ~
  • Serials.dll(library to easily access everything)
  • activate.php
  • insert.php
  • install.php
  • login.php
  • activate.php
  • Full dll project


From now on, my system will contain configs.

[highlight="cpp"]<?php
//this is the config file
//feel free to edit the following variables

#~~~~~~~~~~~~~~~~~~~~~
#[General Information]
#~~~~~~~~~~~~~~~~~~~~~

//0 = False/No
//1 = True/Yes

//Table "serials"
/*
ID
Serial
TimesUsed
HWID
*/

#~~~~~~~~~
#[Credits]
#~~~~~~~~~

/*
This system has been brought to you by the OFFICIAL MPGH DEVELOPER TEAM
Coded by Blubb1337
*/

#~~~~~~~~~~~~~~~~~~
#[GENERAL SETTINGS]
#~~~~~~~~~~~~~~~~~~

//enter the amount of users per serial
//if you set it to one, the serial will be "blocked" after being entered
$UserPerSerial = 1;

//this will allow the user that activated the serial to use the serial again
//i recommend setting this to 1(yes) since the user may lose his key
$AllowReusing = 1;

//this is the number of serials that'll be added to the database when executing insert.php
$NumberOfSerials = 100;

#~~~~~~~~~~~~~~~~~
#[SERIAL SETTINGS]
#~~~~~~~~~~~~~~~~~

//set the length of the serial
$SerialLength = 16;

//set the subkey length
//the length should be devideable by the subkeylength
$SubKeyLength = 4;

//delimiter for subkey
//set subkeylength to zero if you don't want a delimiter
$SubKeyDelimiter = "-";

//example resusult of serial with the above settings:
//AKR4-RQ34-42IP

/ may also set all allowed characters rather than setting the things above
$AllowedCharacters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

#~~~~~
#[FAQ]
#~~~~~

/*
Q: I'm getting some weird error on installation that I cannot edit the conn.php.
A: Open up the conn.php, edit the host,username and password. Save it and you're done.

Q: I'm getting "Notice: Uninitialized string offset: [...]" when trying to insert new serials.
A: Just do not mind it, if the last line says "Sucessfully inserted serials." everything is fine.
*/
?>[/highlight]

~ Setup ~

1. Upload all .php files to your website using any ftp client(f.e. Filezilla) or your CPanel.

2. Browse the install.php in your webbrowser www.websitelink.com/install.php

Set your information like this:



If you are done, simply hit "Save"(obvious). If no error appears, everything is fine

The whole database stuff is already done, awesome eh?

~ Library Usage ~

1. Add the library as reference



2. Code sample

[highlight="vb"]Public Class frmMain

Private serial As New SerialSystem("http://localhost/serial")

Private Sub cmdRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRegister.Click
If serial.activate(Textbox1.text) Then
Activated()
Else
MsgBox("Invalid serial.")
End If
End Sub

End Class
[/highlight]

~ Function Overview ~



~ Database Overview ~

serials - This table contains all serials

  • ID[INT(11)] - Auto Increment - Primary Key
  • Serial[VARCHAR(30)]
  • TimesUsed[INT(3)]
  • HWID[VARCHAR(100)]


~ Requirements ~

  • .Net Framework 2.0
  • A MySQL database
  • A Brain


~ Virusscans ~
VirusTotal
Jotti


Enjoy this


3am I can finally go 2 sleep
serial.zipattachment deleted · 18 downloads before removal
Nice bud. Hope to see more.
I have no brain..So i dont know for what is this XD
Nice job doing idk what
Nice keep up the good work!
Looks great Kevin, didn't even know you were working on it you tricky bastard!

EDIT: Everything checks out, I like your code too Kevin .

/Approved.
Quote Originally Posted by Jason View Post
Looks great Kevin, didn't even know you were working on it you tricky bastard!

EDIT: Everything checks out, I like your code too Kevin .

/Approved.
I started at like 1am this night.
Quote Originally Posted by Blubb1337 View Post
I started at like 1am this night.
1 Property, you've really outdone yourself this time /. Oh yeah I found an 'error' in your install.php. 2 closing <table> tags, only one opening. Mehz.

If you have time, get on msn please
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us