To generate a license key from PHP:
<html>
<head>
<title>QLM PHP Test</title>
</head>
<body>
<?php echo '<p>Generated Trial License Key:</p>';
$URL = "https://qlm3.net/qlmdemo/qlmLicenseServer/qlmservice.asmx/GetActivationKeyWithExpiryDate?is_productid=1&is_majorversion=1&is_minorversion=0&is_expduration=30";
$data = file_get_contents($URL);
echo $data
?>
</body>
</html>
Comments
3 comments
Once a license key is generated, how would you create a database entry in QLM's database with the PHP code corresponding to the newly generated license key? Having trouble finding documentation on this matter.
GetActivationKeyWithExpiryDate automatically creates an entry in the database.
Do you have to specify the account you're creating the entry for in the php code? I can create the trial license key, however, it does not create an entry in our QLM server database.
Article is closed for comments.