Mam problem ze ściągnięciem kodu html ze strony shoutcast'a. Jego adres to: http://play.radioftb.net:8000/index.html
Strona może mieć problem z wyświetleniem w przeglądarkach innych niż mozilla i explorer
Oto kod:
Kod
<?php
print( htmlspecialchars( file_get_contents( 'http://play.radioftb.net:8000/index.html' ) ) );
?>
print( htmlspecialchars( file_get_contents( 'http://play.radioftb.net:8000/index.html' ) ) );
?>
... a oto błąd:
Cytat
Warning: file_get_contents(http://play.radioftb.net:8000/index.html) [function.file-get-contents]: failed to open stream: HTTP request failed! ICY 404 Resource Not Found in C:\Program Files\EasyPHP-5.3.8.1\www\player_pack3\stat.php on line 3
Skrypt działa mi na normalnych stronach php itd, ale z adresem http://play.radioftb.net:8000/index.html nie może sobie poradzić...
Jaka przyczyna, jakieś sugestie?