Quote:
Originally Posted by zuMzuM
i have get this error
Code:
Warning: file() [function.file]: URL file-access is disabled in the server configuration in /vBTube/includes/view.php on line 12
Warning: file(http://www.youtube.com/watch?v=E4VMntSUskg) [function.file]: failed to open stream: no suitable wrapper could be found in /vBTube/includes/view.php on line 12
Warning: implode() [function.implode]: Bad arguments. in /vBTube/includes/view.php on line 13
|
This is due to a setting on your server..
You can fix this by removing the following from
vBTube/includes/view.php:
Code:
$videopage = file("http://www.youtube.com/watch?v=".$vidid);
$videopage = implode("", $videopage);
preg_match('/\/watch_fullscreen\?video_id=.*?&t=(.*?)"/', $videopage, $match);
$downloadurl = 'http://youtube.com/get_video.php?video_id='.$vidid.'&t='.$match[1];
only thing is the "download this video" link won't work for you right now, I've been looking at better ways of handling that anyways..