Jaber Posted November 3, 2017 Share Posted November 3, 2017 Hello Every one im really confused i cannot change my last license system with the whmcs one can any one give me an idea how to do it these are two fucntions of last system function check_($check) { $siteurl = urlencode(getBaseUrl()); $arrContextOptions = array( "ssl" => array( "verify_peer" => false, "verify_peer_name" => false ) ); $file = file_get_contents('http://www.muwebsite.com/purchase.php?code=' . $check . '&url=' . $siteurl, false, stream_context_create($arrContextOptions)); $check = array('status' => 'SUCCESS', 'url' => $siteurl, 'code' => $check); return $check; } function check_success($check) { $siteurl = urlencode(getBaseUrl()); $arrContextOptions = array( "ssl" => array( "verify_peer" => false, "verify_peer_name" => false ) ); $file = file_get_contents('http://www.muwebsite.com/purchase.php?code=' . $check . '&success=true&url=' . $siteurl, false, stream_context_create($arrContextOptions)); $check = array('status' => 'SUCCESS', 'url' => $siteurl, 'code' => $check); return $check; } If I delete that code what i insert then of whmcs code what i must do there is another file of install.php Link to comment Share on other sites More sharing options...
Recommended Posts