[Beta]User Overview V1.1[Release]
Hello MPGH.
~ Information ~
I created a system within VB.Net and PHP to see how many people are using/used your program.
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 ~
~ 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
You may now install the bansystem(optional).
The whole database stuff is already done, awesome eh?
~ Library Usage ~
1. Add the library as reference

2. Code sample
[php]Imports Microsoft.Win32
Imports Users
Public Class Main
Private user As New AppUsers("http://localhost/users/")
Private userinfo As New GetUsers("http://localhost/users/")
Private Sub Form1_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed
user.Logout()
End Sub
Private Sub FillData()
For Each s As String In userinfo.GetAllUsers("!") 'default delimiter is |
Dim x() As String = Split(s, "!") 'split by delimiter
ListBox1.Items.Add(x(3)) 'list all ips
Next
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not user.IsBanned Then 'only if you have the bansystem installed
user.Login()
FillData()
Else
MsgBox(user.BanReason)
End
End If
End Sub
End Class[/php]
~ Function Overview ~


~ Database Overview ~
CurUsers - This table is only to see how many people are currently using your program, if your program is closed, the user will be removed from the table
userlog - This table keeps an advanced track of the user login/logouts.
banlist - This table allows you to ban people from using your program.
~ Requirements ~
~ Changelog ~
~ License ~
You may merge it into your program but only with credits.
If you have any further ideas on what can be added into this system, please let me know.
All rights reserved to me.
~ Virusscans ~
VirusTotal
Jotti
Enjoy this
~ Information ~
I created a system within VB.Net and PHP to see how many people are using/used your program.
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 ~
- Users.dll(library to easily access everything)
- isbanned.php
- banuser.php
- curusers.php
- install.php
- login.php
- logout.php
- Full dll project
- Example project for usage
~ 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

You may now install the bansystem(optional).
The whole database stuff is already done, awesome eh?
~ Library Usage ~
1. Add the library as reference

2. Code sample
[php]Imports Microsoft.Win32
Imports Users
Public Class Main
Private user As New AppUsers("http://localhost/users/")
Private userinfo As New GetUsers("http://localhost/users/")
Private Sub Form1_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed
user.Logout()
End Sub
Private Sub FillData()
For Each s As String In userinfo.GetAllUsers("!") 'default delimiter is |
Dim x() As String = Split(s, "!") 'split by delimiter
ListBox1.Items.Add(x(3)) 'list all ips
Next
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not user.IsBanned Then 'only if you have the bansystem installed
user.Login()
FillData()
Else
MsgBox(user.BanReason)
End
End If
End Sub
End Class[/php]
~ Function Overview ~


~ Database Overview ~
CurUsers - This table is only to see how many people are currently using your program, if your program is closed, the user will be removed from the table
- ID[INT(11)] - Auto Increment - Primary Key
- PCName[VARCHAR(30)]
- IP[VARCHAR(20)]
- GUID[VARCHAR(50)]
userlog - This table keeps an advanced track of the user login/logouts.
- ID[INT(11)] - Auto Increment - Primary Key
- Login[INT(2)]
- PCName[VARCHAR(30)]
- OS[VARCHAR(10)]
- Processor[INT(2)]
- IP[VARCHAR(20)]
- HWID[VARCHAR(50)]
- GUID[VARCHAR(50)]
- Date[VARCHAR(12)]
- Time[VARCHAR(5)]
banlist - This table allows you to ban people from using your program.
- ID[INT(11)] - Auto increment - Primary Key
- PCName[VARCHAR(30)]
- HWID[ VARCHAR(40)]
- IP[ VARCHAR(20)]
- BanDate[ VARCHAR(12)]
- BanTime[ VARCHAR(5)]
- BanReason[ VARCHAR(50)]
~ Requirements ~
- .Net Framework 2.0
- A MySQL database
- A Brain
~ Changelog ~
Code:
V1.0.0.0 => V1.1.0.0 PHP-System * Added banuser.php to ban users * Added isbanned.php to see if a user is banned * Deleted advanced stats * Changes to the install.php * Optional installment of the bansystem * userlog column fix * Added HWID column to logout * Added HWID column to login * Added query.php * Added query tutorial DLL * Dll sourcecode public * DLL split into two classes * Improved connection * Example project added * IsBanned function * BanReason function * ExecuteQuery function * Windows7Users function * WindowsXPUsers function * WindowsVistaUsers function * MacUsers function * LinuxUsers function * x86Users function * x64Users function
You may merge it into your program but only with credits.
If you have any further ideas on what can be added into this system, please let me know.
All rights reserved to me.
~ Virusscans ~
VirusTotal
Jotti
Enjoy this

User Overview (c) Blubb1337.rar


