PHP Classes

PHP Key Generation System: Generate and validate keys attached to MAC address

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 265 This week: 1All time: 7,763 This week: 560Up
Version Licenses PHP version Categories
key-generation 1.0Free For Educatio...5.4Networking, PHP 5, Databases, Windows
Description 

Author

This class can generate and validate keys attached to MAC address.

It retrieves the current computer MAC address and generates an hash of the address that is stored in a database for subsequent verification.

The class can check if a generated key is valid by comparing with the value stored in a database.

Picture of Muhammad Faryad
Name: Muhammad Faryad <contact>
Classes: 1 package by
Country: Pakistan Pakistan
Age: 37
All time rank: 392748 in Pakistan Pakistan
Week rank: 411 Up9 in Pakistan Pakistan Up

Example

<?php
include_once("my_class.php");
$chkkey = new my_keys();
$chkkey->validatekey();
?>
<!DOCTYPE html>
<html lang="en">
    <head>
    <title>Secure Page</title>
    </head>
    <body>
    <h1> Assalam-o-Alaikum!</h1>
    Did you like it? Please like my page on <a href="https://www.facebook.com/Tolamangali" target="_blank">Facebook</a>
    </body>
</html>


Screenshots  
  • 1
  Files folder image Files  
File Role Description
Accessible without login Plain text file connect.php Conf. Db connection file
Accessible without login Plain text file index.php Example Php Unique Key Generator
Accessible without login Plain text file getcode.php Example Gets Code from PC
Accessible without login Plain text file keygenerator.php Example Uniq key generator page
Plain text file my_class.php Class Main Class File
Accessible without login Plain text file my_db.sql Data Db file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:265
This week:1
All time:7,763
This week:560Up