|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Posts: 4
|
need help with a php script
hiya to be blunt im struggling with php i want a last 10 script but i cant seem to figure out how to put the info in to make it work i have tried everything but im no good with phps im a typical women not very technical minded i was wondering if anyone could help me please if i gave them my ip and port whether they could make it for me i know im asking alot but im at my wits end now
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Oct 2007
Posts: 8
|
The simplest way:
http : // 111.222.333.444 : 5555 / played.html Take the spaces out! Replace with ur IP and port number of course ![]() That page will show the last x number of tracks as defined in ur server config - often set to 10 - max of 20. You can use PHP to pull the same information from the XML stats of the shoutcast and display it how you like. I hacked about with the SCXML scripts to make it do what I wanted - but never did a last 10 with it. It should be simple enough though. I'm sure there's some standard scripts out there (on this site somewhere, I forget where!) that you just need to put the server IP, Port and Password in the relevant place to make work that will do what you want. If you're still stuck I'm sure I could knock something together. GeeTee Last edited by geetee; 20th February 2008 at 23:14. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2007
Location: PNW (Langley,Wa) 40 m N from Seattle Wa.
Posts: 108
|
that woks and is a quick and dirty trick
but you have the ulgy black shoutcast server page not very girly try the script from Stream Solutions.. it works for me you need to change some things put this in the web directory where your website is PHP Code:
LCR1610AM & KWPA 103.1 FM Radio Tech on ShoutCast search for (Local Radio & Music) http://ww2.whidbey.net/lcr1610am Most computer errors happen between the keyboard & the chair! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|