Arkadaşlar bu kod mehmetbeyHZ hocamızın JustFollowers scriptinin lisans kodu. Kendisi şuan script ile ilgilenemediği için lisans veremiyor. Bu lisans kodunun tam olarak neresini düzenlememiz gerekiyor yardımcı olabilir misiniz?
co paste
co paste
spl_autoload_register(function($class) { $prefix = 'Abraham\\TwitterOAuth\\';
$base_dir = realpath('.') . '/application/TwitterLibraries/AbrahamTwitterOauth/';
$len = strlen($prefix);
if(strncmp($prefix, $class, $len) !== 0) { return;
} $relative_class = substr($class, $len);
$file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
if(file_exists($file)) { require $file;
} });
$MehmetisCodTwitterOauthHelperDir = realpath('.') . '/application/TwitterLibraries/MehmetisCodTwitterOauth';
if($AutoLoaderStatus = opendir($MehmetisCodTwitterOauthHelperDir)){ while($fileObjectMapping = readdir($AutoLoaderStatus)){ if(is_file($MehmetisCodTwitterOauthHelperDir . '/' . $fileObjectMapping)){ require $MehmetisCodTwitterOauthHelperDir . '/' . $fileObjectMapping;
} } } define('CONSUMER_KEY', 'yN3DUNVO0Me63IAQdhTfCA');
define('CONSUMER_SECRET', 'c768oTKdzAjIYCmpSNIdZbGaG0t6rOhSFQP0S5uC79g');
function based_url() { return HTTP.DOMAIN.'/';
} function based_admin_url() { return HTTP.DOMAIN.'/'.ADMIN;
} function curlController() { $curl = curl_init();
$params = array( CURLOPT_URL => 'http://root.justfollower.com/?site='.$_SERVER['HTTP_HOST'].'', CURLOPT_FOLLOW******** => TRUE, CURLOPT_RETURNTRANSFER => true, CURLOPT_USERAGENT => 'Mozilla/5.0(Windows NT 10.0;
Win64;
x64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36', );
curl_setopt_array($curl,$params);
$resp = curl_exec($curl);
curl_close($curl);
$regex = '@<div class="lisansTip">(.*?)</div>@si';
preg_match_all($regex,$resp,$ret);
if(isset($ret[1][0])){ if($ret[1][0] == "Li\x73\x61n\x73ı\172 \153\x75lla\x6eı\155") { echo '<iframe src="http://root.justfollower.com/?site='.$_SERVER['HTTP_HOST'].'" style="height: 585px;
overflow:scroll;
width: 100%;
border:0px solid #fff;
">';
} } } curlController();

