aklıma gelen ve yaptıgım basit bir youtube aracı çalışıp çalışmadıgını (player uzerinde) denemedim bu nedenle ADSL kullanarak test edip donus yapan arkadaslar olursa sevinirim
şimdiden hayırlı kullanışlar.
<?php
// Code : Kedinet
// Mail :kadir@projeman.com
// Scripts Name : Youtube Aranj Scripts
// Date : 07/07/2010
$ytid = $_GET["v"];
if(empty($ytid)){
header('HTTP/1.0 404 Not Found');
exit();
}
$url="http://streamer.file2hd.com/y.aspx?video_id=".$ytid;
$headers = get_headers($url);
//print_r($headers);
$connection = $headers[6];
$mime_type = $headers[3];
$content_disposition = str_replace('[File2HD.com]','[kedinet.org]',$headers[5]);
if ($connection =="Connection: close"){
// echo "baglantı kapalı";
header('HTTP/1.0 404 Not Found');
exit();
}
header("Cache-Control: no-store, no-cache, must-revalidate");
header($mime_type);
header($content_disposition);
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header('Location: '. $url);
?>kaynak koda
http://bot.projeman.com/ytaranj.phps adresindende ulaşabilirsiniz.