Old 18th August 2007, 21:25   #1
daclutchinghand
Junior Member
 
Join Date: Aug 2007
Posts: 1
web script

Yeah, wondering if anybody can help me, what I'd like is a script for a website that will display whether I'm currently online or offline on SHOUTcast. Similar to how it says on myspace for instance when your online on your page, says "online!". Thanks.
daclutchinghand is offline   Reply With Quote
Old 19th August 2007, 04:17   #2
tuckerm
Forum Emo
 
tuckerm's Avatar
 
Join Date: Mar 2005
Posts: 8,364
Click SC101 below in my sig and scroll down to Listen Links.
tuckerm is offline   Reply With Quote
Old 19th August 2007, 07:16   #3
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
plenty here..........

http://www.streamsolutions.co.uk/index.php?page=scripts
Nick@ss is offline   Reply With Quote
Old 29th August 2007, 04:10   #4
RADIO-TZER
Junior Member
 
Join Date: Sep 2006
Location: Ca, USA
Posts: 3
Send a message via AIM to RADIO-TZER Send a message via Yahoo to RADIO-TZER
Well, those are nice, if you are a paid subscriber to steam solutions, so there's no point to respond with that advertisement.

Now can you answer the question without advertising some brand we can't use?
RADIO-TZER is offline   Reply With Quote
Old 29th August 2007, 05:41   #5
NJK
FRISIAN (MOD)
 
NJK's Avatar
 
Join Date: Sep 2003
Location: in a house
Posts: 16,103
Quote:
Originally posted by RADIO-TZER
Well, those are nice, if you are a paid subscriber to steam solutions, so there's no point to respond with that advertisement.

Now can you answer the question without advertising some brand we can't use?
Seems you either can't read or didn't visit the website

the scripts are there to download for everybody
I have no subscription to streamsolutions yet can download the scripts and use them

SO your point??

Each Thursday a new show on Celtica Radio with Darkwave music.

WINAMPSHOUTCAST
NJK is offline   Reply With Quote
Old 29th August 2007, 06:54   #6
sheffieldbleep
Junior Member
 
Join Date: Nov 2006
Location: Sheffield
Posts: 19
Quote:
Originally posted by RADIO-TZER
Well, those are nice, if you are a paid subscriber to steam solutions, so there's no point to respond with that advertisement.

Now can you answer the question without advertising some brand we can't use?
There are some great scripts over at streamsolutions that any SHOUTcast server can use.
sheffieldbleep is offline   Reply With Quote
Old 29th August 2007, 07:30   #7
DjPorkchop
Junior Member
 
Join Date: Aug 2007
Posts: 1
They do have a bunch, but most of them only give support if your a paid member. I myslef am kind of new to the business and trying to get some radio stats as well and am not real php savvy. can get rough if they wont even help ya without and id #

They got good stuff though Im sure of that.
DjPorkchop is offline   Reply With Quote
Old 29th August 2007, 18:44   #8
sheffieldbleep
Junior Member
 
Join Date: Nov 2006
Location: Sheffield
Posts: 19
this script will tell you if your server is UP, how many listeners, bitrate & current song.

PHP Code:
<div style="Visibility: Hidden; Position: Absolute;"> 
<? 
$open 
fsockopen("your server IP","8000"); 
if (
$open) { 
fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n"); 
$read fread($open,1000); 
$text explode("content-type:text/html",$read); 
$text explode(",",$text[1]); 
} else { 
$er="Connection Refused!"; } 
?> 
</div> 
<? 
if ($text[1]==1) { $state "Up"; } else { $state "Down"; } 
if (
$er) { echo $er; exit; } 
echo 
"
<body style='margin-left:0px background: transparent';>
<font face=verdana size=1 color=#FFFFFF>
Listeners: 
$text[0] of $text[3] ($text[4] Unique)<br> 
Listener Peak: 
$text[2]<br> 
Server State: <b>
$state</b><br> 
Bitrate: 
$text[5] Kbps<br> 
Current Song: 
$text[6]<br>
</font></body>"
;?>
sheffieldbleep is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump