Page 1 of 1

PHP script Play online audio files

Posted: Sat Sep 18, 2004 12:57 am
by kunwarbs
Hi,
I want to know how to play audio files (mp3/rm) using php.
eg musicindiaonline.com

thanks
kunwarbs[/pg_man]

Posted: Sat Sep 18, 2004 1:09 am
by feyd
you don't play them.. the server can "stream" them.. you just send the right headers and dump the file to the browser, generally...

Posted: Sat Sep 18, 2004 5:25 am
by m3mn0n
Yeah. The output will be handled by a client-side application, such as WMP 9, RealPlayer, QuickTime, or Winamp.

Remember, PHP is server-side. All the magic it does happens on the server.