Location: PHPKode > scripts > License management script > licence.php
<?php
/*
=============================================================
Script Name               : license management class
Auther                    : Payam khaninajad
Contact                   : hide@address.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;
	}
}
?>
Return current item: License management script