Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 20th June 2008, 02:37   #1
quangphangbang
Junior Member
 
Join Date: Jun 2008
Location: Texas (seriously)
Posts: 3
Send a message via AIM to quangphangbang Send a message via Yahoo to quangphangbang
How do I get info from the server to a webpage?

How do i like request info from my broadcasting station and show it on a webpage? For example if i want to auto show the song name (or anything from the station) that's playing on the server on my website how do i do that?
quangphangbang is offline   Reply With Quote
Old 20th June 2008, 11:47   #2
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,956
use a php script and place the script in an iframe.

http://www.streamsolutions.co.uk/index.php?page=scripts

http://www.w3schools.com/TAGS/tag_iframe.asp
Nick@ss is offline   Reply With Quote
Old 21st June 2008, 01:53   #3
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,003
The php file that you edited needs to be uploaded to your website.

But before we get into any of that, does notwork solutions support php? Not all hosts do...
fc*uk is offline   Reply With Quote
Old 21st June 2008, 03:58   #4
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,003
You should be able to ... as long as PHP is somewhat supported.

As nick has suggested, you may need to use the <iframe> ... </iframe> html code to make the php script work. I'm on the incorrect computer right now (not be linux box), but all that should be included in the iframe html code (literally <iframe> HTML CODE </iframe> is the link to the php script (directory path, etc).

On another note, do you have root access to this network solutions server? If you do, you might want to consider lamp.

As for the breaking news ... again, you are correct and you have an exceptional memory for not doing these things day in and day out!

I thank you for your graciousness. I have learned the hard way that making assumptions only comes back to kick me. I only wish that other scientists would take the same approach. Again, thank you!
fc*uk is offline   Reply With Quote
Old 21st June 2008, 12:25   #5
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,956
All the above is correct,

all you need to do is edit the config.php and add the script by means of an iframe onto your site.

scastdetail.php is the file you will link to.

open the php in the iframe and all should be fine alternatively you can just point the website link to the direct php page.

Eg http://www.streamsolutions.co.uk/scr...castdetail.php
Nick@ss is offline   Reply With Quote
Reply
Go Back   Winamp 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