PHP Classes

File: licence.php

Recommend this page to a friend!
  Classes of Payam Khaninejad  >  License management class  >  licence.php  >  Download  
File: licence.php
Role: Example script
Content type: text/plain
Description: Local example page
Class: License management class
Generate and validate license serial numbers
Author: By
Last change:
Date: 11 years ago
Size: 747 bytes
 

Contents

Class file image Download
<?php
/*
=============================================================
Script Name : license management class
Auther : Payam khaninajad
Contact : Progvig@yahoo.com
Follow me on twitter : http://twitter.com/khaninajad
Location : Iran-Azarbayjan
Year : 2010-12-19
Version : 1.0
=============================================================
Local example page
*/
require_once("licence.inc.php");
$mylicence=new licence;
if(isset(
$_GET['serial']) && isset($_GET['id']))
{
   
$id=$_GET['id'];
   
$serial=$_GET['serial'];
    if(
$mylicence->validate_my_licence($id,$serial)==0)
    {
    echo
1;
    }
    else
    {
    echo
0;
    }
}
?>

For more information send a message to info at phpclasses dot org.