Hello I need help with
Programming system protection Bcod license for a particular script
The method used: http://www.daniweb.com/web-development/php/threads/278022
But it did not work at all and there are mistakes
I want to help in the patch or in the creation of the license code, for example, in this way
public function license( )
{
global $licene_number;
global $domain_name;
global $tmps;
$url = "http://localhost/license/?license=".$licene_number."&domain=".$domain_name;
$licene_number = get_license_access( );
$domain_name = get_domain( );
if ( !function_exists( file_get_contents ) )
{
echo $tmps->print_error( "error" );
exit( );
}
else
{
$result = @file_get_contents( $url );
if ( $result != "SUCCESS" )
{
return "INVALID";
}
}
return "SUCCESS";
}
}