Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/09/2011, 04:53
Avatar de ahaugas
ahaugas
 
Fecha de Ingreso: agosto-2011
Ubicación: Madrid
Mensajes: 249
Antigüedad: 12 años, 8 meses
Puntos: 21
problemas con php

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
Código PHP:
curl() 
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