I am trying to put the current song playing on my shoutcast stream into my website (seen at: http://camp.sharpertech.net/surge). The script i'm using for it is GMTT (http://camp.sharpertech.net/surge/radio/radio_stats.php). I had a problem when I tried using PHP include because the radio_stats.php refreshed every 10 seconds, so it would error out after 10 seconds.
I heard I can fix this with AJAX, but I have no clue what i'm doing there. Why method should I go about trying to get these stats to work. The iframe method I am using now is not working out too well because of browser compatibility and because the text on the stats is on the bottom and not shown as i'd like it.
Thanks so much for your help guys,
-Pat
I heard I can fix this with AJAX, but I have no clue what i'm doing there. Why method should I go about trying to get these stats to work. The iframe method I am using now is not working out too well because of browser compatibility and because the text on the stats is on the bottom and not shown as i'd like it.
Thanks so much for your help guys,
-Pat