Hoi,
Ik heb een RadioStatus script gemaakt.
En alles werkt.
Behalven dit stukje:
Hij geeft dan aan
Paar links:
http://wouter0100.nl/Wouter/status.php
http://free.freeshoutcast.com:8756/ (Gewoon online dus.)
Alvast bedankt.
Wouter aka Snabbotube
Ik heb een RadioStatus script gemaakt.
En alles werkt.
Behalven dit stukje:
[COLOR= #0000BB]<?php
$ip[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"free.freeshoutcast.com"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$port[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"8756"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"-----"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$connect[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fsockopen"]fsockopen[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"$ip"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$port[/COLOR][COLOR= #007700], &[/COLOR][COLOR= #0000BB]$errno[/COLOR][COLOR= #007700], &[/COLOR][COLOR= #0000BB]$errstr[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]);[/COLOR]
?> Hij geeft dan aan
Warning: fsockopen() [function.fsockopen]: unable to connect to free.freeshoutcast.com:8756 (Connection timed out) in /home/snabbonl/domains/wouter0100.nl/public_html/Wouter/status.php on line 6
Offline. Paar links:
http://wouter0100.nl/Wouter/status.php
http://free.freeshoutcast.com:8756/ (Gewoon online dus.)
Alvast bedankt.
Wouter aka Snabbotube


