Hack Forums
[PHP] iocube licensing system - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] iocube licensing system (/showthread.php?tid=5449832)



iocube licensing system - moosa666 - Oct 31, 2016

Hi Guys

i need a ioncube license system that runs to a link this is just some testing im doing to teach myself
i never used licenses before any recomendations
Code
$server = $_SERVER['SERVER_NAME'];
    $c = curl_init(  );
    curl_setopt( $c, CURLOPT_URL, 'http://www.domain.com/verifylicenses.php' );
    curl_setopt( $c, CURLOPT_TIMEOUT, 30 );
    curl_setopt( $c, CURLOPT_POST, 1 );
    curl_setopt( $c, CURLOPT_RETURNTRANSFER, 1 );
    $postfields = 'svr=' . $server . '&lic=' . $license;
    curl_setopt( $c, CURLOPT_POSTFIELDS, $postfields );
    $result = curl_exec( $c );



* - moosa666 - Oct 31, 2016

i need a license system that is easy to learn for now lol ioncube i got kinda difficult to work with as a beginner


* - moosa666 - Oct 31, 2016

ok cool thanks for the advice im just reading up on ioncube see what i can learn from that im just doing this for myself to learn from it