View Single Post
Old 20th September 2012, 19:59   #6
p0rt
Senior Member
 
Join Date: Nov 2010
Posts: 152
make a php file that contains the code in the post http://forums.winamp.com/showpost.ph...14&postcount=9

include the new php file.

include( "new.php" );

$scinfo = new sc2info;

$scinfo->sc2info();

$array = $scinfo->getsc2info( $in_host, $in_port, $in_sid );

// /*
// RETURN/s
// $array['CURRENTLISTENERS']
// $array['STREAMSTATUS']
// $array['PEAKLISTENERS']
// $array['MAXLISTENERS']
// $array['UNIQUELISTENERS']
// $array['AVERAGETIME']
// $array['SERVERGENRE']
// $array['SERVERURL']
// $array['SERVERTITLE']
// $array['SONGTITLE']
// $array['NEXTTITLE']
// $array['BITRATE']
// $array['VERSION']
// $array['CONTENT']
// */

echo any of the above array keys for the statistic
p0rt is offline   Reply With Quote