hola buenos dias tengo un problema con un script y me gustaria resolverlo para un proyecto de hobby para todo el mundo,pero tengo serios problemas y de php se muy poco pero me defiendo en algo
si me pueden hechar unaa mano os lo agradecere
en primer lugar tengu un error
Código:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /xxxxxxx/xxxx/xxxxxxxx/xxxxxx/xxxxx/xxxxxx/leader.php on line 46
Código:
Warning: file_get_contents(http://www.ejemplo.com/xml/link.php?v=C1ARCSL4&u=xxxxxxxxxxxxxxxxxxxxx--xxxxxxx) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /xxxxxxx/xxxx/xxxxxxxx/xxxxxx/xxxxx/xxxxxx/leader.php on line 46
y en la linea tengo
Código PHP:
// Obtain Megavideo XML playlist file
if ($content = file_get_contents("http://www.megavideo.com/xml/videolink.php?v=".$megavideo_id."&u=xxxxxxxxxxxxxxxxxxxxx--xxxxxxx")){
habria la posibilidad de
Código PHP:
file_get_contents()
pasar a
porque mi servidor no admite eso ni .htaccess ni php.ini
muchas gracias por vuestro tiempo como veis es un script de videos y lo voy a poner gratuito en mi pagina web, pero no solo coge de megavideo sino de todos los que alojen algo tipo google