more detailed stats in php file
more detailed stats in php file
$hey there...first of all nice program
i have a question though
im not a php expert so i was wondering if you could help me...
i would like to have more info display about the server/stream
in the examples.php it just shows current song, listeners and past 3 songs.... what is the code for getting it to display info like server status, song title, song artist, description etc etc
i know that
will display the current song
i tried i though that would display the server status but i get nothing... is there a code guide that i can use to display all the info i want??
cheers
RCB
PS. send server details is checked
i have a question though
im not a php expert so i was wondering if you could help me...
i would like to have more info display about the server/stream
in the examples.php it just shows current song, listeners and past 3 songs.... what is the code for getting it to display info like server status, song title, song artist, description etc etc
i know that
Code: Select all
echo $current_song;
i tried
Code: Select all
$status;
cheers
RCB
PS. send server details is checked
i have this in the include file
but how do i apply that to the php file i wanna use....
i tried added but nothing shows up about the status....
any help?
cheers
RCB
Code: Select all
<?php
$server[0]['ip']='blahblah';
$server[0]['type']='SHOUTcast';
$server[0]['listeners']='2';
$server[0]['max_listeners']='40';
$server[0]['bitrate']='64';
$server[0]['status']='Online';
$server[0]['desc']='My Stream Title';
$server[0]['current_song']='Various Artists - The Dreamletts - Really Now';
$current_song='Various Artists - The Dreamletts - Really Now';
$listeners='2';
$status='';
$max_listeners='40';
$touch_interval='60';
$lastsong[0]='Various Artists - The Dreamletts - Really Now';
$lasttime[0]='1107538255';
$lastsong[1]='Massive Attack - Group Four';
$lasttime[1]='1107510041';
$lastsong[2]='Massive Attack - Mezzanine';
$lasttime[2]='1107509680';
?>
i tried added
Code: Select all
<?php echo $status; ?>
any help?
cheers
RCB