I have created a YouTube search engine + download + MP3 convert script. I have used Jeckman\'s YouTube Downloader for creating this script. Everything is OK, except, I want to d
I've found out a solution to store the YouTube file to server. I have removed the header stuff and put $download_video_file = file_put_contents($file_path, fopen($url, 'r')); in place of readfile($url); and it worked like a magic! ^_^