View Full Version : Quick WEBSITE question
CraigGear
14th December 2004, 04:17
How would I include "http://www.theviberadio.com/sc_song.php" on my existing HTML page? I just want to show the song title on my website.
CraigGear
14th December 2004, 14:00
Can anybody help me out with this?
DboG
14th December 2004, 19:28
Easiest way may be to insert an element like an iframe that uses that page as its source like this:
<iframe src="http://www.theviberadio.com/sc_song.php" width="300" height="30" scrolling="no"></iframe>
Throw that code in the body of an HTML page to get a sense of it, but you can tweak the size, look, etc. of it. Hope that helps some.
Wavestreaming
14th December 2004, 19:33
What DboG said is the best way, however if you want to use PHP, try this:
<?php @include("http://www.theviberadio.com/sc_song.php");?>
andrewwkyz
15th December 2004, 20:01
is there any way to use this code posted abobe to gather the info straight from the Shoutcast server?
CraigGear
15th December 2004, 20:41
The PHP page (sc_song.php) does grab the info directly from my server. It is set-up by changing the settings in the PHP script.
andrewwkyz
16th December 2004, 23:17
I cannot get this thing to work. I have an HTML page and I am trying to include it on the page with somer codes above but I JUST CAN NOT EVER get these codes to work. Is there anyone who can help me with my page? I need some help.
101
16th December 2004, 23:24
Does your host have support for PHP? Do you get errors/warnings when you run those scripts?
andrewwkyz
16th December 2004, 23:28
I have no IDEA really. I have a paid Angelfire account. This thing is, I run a web radio station, I do very well with that I understand shoutcast and all BUT!! I am not that great with anykind of webwork and I try to do everything on my own which does not get me that far. There is a Template I am going to get but I would like someone to tweek with it to include a now playing on it as well as recently played box BUT I can't do ti cuz I do not understand. If there is anyone here who could use maybe dreamweaver or something to Add this to the template when I get it as well as refer me to a good WebHost, This would be a help. I do thing alone and WebWork is not my strong point at all so I really need 1 on 1 help if anyone can do. Thanks
101
16th December 2004, 23:46
I think angelfire doesn't support PHP even for their paid accounts, if they don't, you won't be able to run any PHP script of course. Ask them about this first.
andrewwkyz
16th December 2004, 23:54
I dont really care. All I need to to find someone who can refer me to a good host and help me with the coding. Thats my only hope. I do not understand all this PHP stuff at all
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.