Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/05/2014, 23:07
lightning2014
 
Fecha de Ingreso: abril-2014
Mensajes: 32
Antigüedad: 10 años
Puntos: 0
Duda sobre direccion de archivo

Estoy usando una libreria ( getid3() ).
Código PHP:
include('demo.audioinfo.class.php');
$getID3 = new getID3;
$list fopen('F:\alternative/lista.txt','r');//lista de nombres de archivos mp3.

while(!feof($list)){
    
$line fgets($list);    
$info $getID3->analyze('F:\alternative/'.$line);
var_dump($info);
//$duracion = $info['playtime_string'];
//echo $duracion."<br>";
    

El var_dump me da el siguiente resultado:
Cita:
array (size=2)
'GETID3_VERSION' => string '1.9.7-20130705' (length=14)
'error' =>
array (size=1)
0 => string 'Could not open "F:\alternative\3 Doors Down - Better Life.mp3
" (does not exist, or is not a file)' (length=112)
Si comento el while y en la variable info , en analyze() le cambio el $line por 3 Doors Down - Better Life.mp3 funciona.
¿Que puede estar pasando?