Показать сообщение отдельно

  #7989  
Старый 20.01.2009, 19:49
w.u.n.
Познающий
Регистрация: 13.12.2008
Сообщений: 54
С нами: 9162484

Репутация: 80
По умолчанию

Vinsik
PHP код:
$file "./share/playlist.xml";

if(
file_exists($file)) {
    
$text file_get_contents($file);

    
preg_match('/<location>.*\/(.*?)\.mp3<\/location>/',$text,$m);  
    echo 
$m[1];
} else die(
'cann\'t open file!'); 
 
Ответить с цитированием