function flvlink($id)
{
	$ch = curl_init();
		curl_setopt($ch, CURLOPT_COOKIEJAR,'cookies.txt');
		curl_setopt($ch, CURLOPT_POST,1);
		curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)");
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); //  Serverinizda safe_mod on ise bu satiri siliniz.
		curl_setopt($ch, CURLOPT_URL, 'http://m.keephd.com/');
		$icerik=curl_exec($ch);

		$ch = curl_init();
		curl_setopt($ch, CURLOPT_COOKIEFILE,'cookies.txt');
		curl_setopt($ch, CURLOPT_POST,1);
		curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)");
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); //  Serverinizda safe_mod on ise bu satiri siliniz.
		$post='type=default&video_submit=Download Video&video_url=http://www.youtube.com/watch?v='.$id;
		//echo $post;
		curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
		curl_setopt($ch, CURLOPT_URL, 'http://m.keephd.com/download_video.php');
		$data=curl_exec($ch);
		preg_match("'(dl\.php\?e=.*?&u=http.*?)\"'si",$data,$al);
		$al[1]='http://m.keephd.com/'.$al[1];
		return $al[1];
}
Ornek Kullanisi :
 flvlink('fTQ3MS0wa7k');
Sorulariniz varsa burdan sorunuz.