| 
<?php
/*
 =============================================================
 Script Name               : license management class
 Auther                    : Payam khaninajad
 Contact                   : [email protected]
 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;
 }
 }
 ?>
 |