access a songfile from remote server using remote php file

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
kishan6
Forum Newbie
Posts: 4
Joined: Fri Nov 21, 2008 3:06 pm

access a songfile from remote server using remote php file

Post by kishan6 »

hi all.
i have a scenario::----
-i have a song file on my application server(Ex:- song1.mp3)
-i have a php file on application server which gets this song(ex:- song1)
when receives a request from the php file on webserver.
- i have a player on my webserver which has to play this song(got from application server)

Note:- suppose, the song(ex:- song1.mp3) is located on the "http://applicationserver(ip)/songs/song1.mp3 " , flash player(on webserver) cannot play the song when given this url directly.

Not Sure:-
i think i can call application level php from webserver php to get the song using CURL but dont know how to make that play in flash player.

please steer me to the correct solution!!!!!
Post Reply