Help Me Please with migrating from whmcs licensing to blesta licensing
I currently use a flat file for storing settings
http://stackoverflow.com/questions/14752470/creating-a-config-file-in-php
that is where I found out my current implementation of how to store the settings ^
I just need help trying to get the blesta license manager to call back home
I think whmcs made it too easy to integrate their licensing addon which of course is making me scratch my head on how to get the blesta licens
You can't store data like that because you're not going to be able to write to it that way. Try this:
<?php
require_once "path/to/license.php";
////////////////////////////////////////////////////
// BEGIN: ONE-TIME SETUP
////////////////////////////////////////////////////
// Get license key from user and write to file
file_put_contents("path/to/license_key.txt", $_POST['license_key']);
// Initialize to fetch public key
$server_url = "https://domain.com/path_to_blesta/plugin/license_man