|
|
#1 |
|
Junior Member
|
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?
|
|
|
|
|
|
#2 |
|
Moderator
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 |
|
|
|
|
|
#3 |
|
Moderator
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... |
|
|
|
|
|
#4 |
|
Moderator
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! |
|
|
|
|
|
#5 |
|
Moderator
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|