merhaba arkadaslar youtube uzerinden flvlerin adresini alabiliyorum fakat bunu player'a gondermekte s1k1nt1 cekiyorum..
simdi codum soyle..
<?


//echo($url);
//header('Location: '.$url);

$url = $_GET['url'];
$fsize = filesize($url);
//echo($fsize);


header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
header("Content-Description: File Transfer");
header("Content-Type: video/x-flv");
header("Content-Disposition: attachment; filename=\"$asfname\"");
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . $fsize);

$file = @fopen($url,"rb");
if ($file) {
  while(!feof($file)) {
    print(fread($file, 1024*8));
    flush();
    if (connection_status()!=0) {
      @fclose($file);
      die();
    }
  }
  @fclose($file);
}

?>
simdi getle gelen url bizim youtube'daki flv adresimiz..
ornegin soyle bi adres http://www.youtube.com/get_video%3Fv...qGh9v2xl_T0%3D
simdi burdaki flv dosyasinin filesize ile boyutunu alip , mimtype olarak browsera gondermek istiyorum.boylece youtube ile user arasina serverimi sokup user dolayisiyla serverimdan cekicek.ama header hatalari aliyorum dahasi header hatalarindan sonra flv dosyasinin icerigini browser'a basmaya calisiyor
burdan flvyi alip flashplayer'a gondermek istiyorum.
tesekkurler