Adf.ly Linki : http://adf.ly/IAM3J
Örnek Kullanım : http://www.siteniz.com/dosya.php?c=IAM3J
$Link = 'http://adf.ly/'.$_GET['c'];
$UserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36';
$cURL = curl_init(); curl_setopt_array($cURL, array(CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => $Link, CURLOPT_USERAGENT => $UserAgent));
$Response = curl_exec($cURL); curl_close($cURL);
function DecodeYsmm($Ysmm)
{
$A = ''; $B = '';
for($j = 0; $j < strlen($Ysmm); $j++ )
{
if ($j % 2 == 0) $A .= $Ysmm[$j]; else $B = $Ysmm[$j].$B;
}
return substr(base64_decode($A.$B),2);
}
if(preg_match("#var ysmm = '([a-zA-Z0-9+/=]+)'#", $Response, $Need))
{
$Need[0] = str_replace("var ysmm = '",'',$Need[0]);
$Need[0] = substr_replace($Need[0], "", -1);
}
echo DecodeYsmm($Need[0]); // Yönlendirme Yapılan Sayfa'nın Linki
?>