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
online radio
Moderator: General Moderators
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.
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.
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.
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.
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.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.
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..