online radio

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

online radio

Post by gaogier »

Im going to make an online radio, but where would i start?

i dont know if you can do this in PHP, if not what language is it? where can i get a free one? i got the songs (thouands and Dj people, just need the radio, if you can help pm, or reply here

thanks
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

Real Audio is a start.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

what is that? is it like a radio?

or what i need to search for?
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

Googling "Online Radio" would probably be a great start. If that doesn't get you what you want, maybe "Create Online Radio" or "Setup Online Radio".
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

tried them already and also these

free radio php scripts
free radio scripts
free web radio EXE
free web radio scripts

and they all give out the same sites but all listing online radios not the scripts i need
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

is it possiable to do this in PHP?
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

I can't say no, but let me put it this way. php's purpose is to quickly figure out the output and give it. Plus it can do nice funky stuff.
It's possible to have php constantly run (I've seen a pure php irc client), but it's not... normal.

As far as I know, the best solution is to use a radio server. As in a separate program entirely that uses a different port from apache.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Melonsoft has a great, free, simple radio broadcaster available here: http://www.melonsoft.com/products/leanstream/ .

You'll need a real-world ip or a punch through on your router for it to work, but that'd be the case no matter what your solution is.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

Skara wrote:I can't say no, but let me put it this way. php's purpose is to quickly figure out the output and give it. Plus it can do nice funky stuff.
It's possible to have php constantly run (I've seen a pure php irc client), but it's not... normal.

As far as I know, the best solution is to use a radio server. As in a separate program entirely that uses a different port from apache.
This is not entirely true. PHP can consitantly run with sleep and infinite loops, but it's not a constant action based script after it goes out of scope of the intended data.

In order to achieve the irc client you are speaking of, you would need either javascript, java applet, ajax, or another form of client side language. Therefore, php cannot consitantly run on it's own. It must have an outside script/proggie that tells it to execute again. But again, once it's out of scope, it's out of scope. and the onlything that can bring it back into scope is another application..
Post Reply