Hi everybody,
I am using PHP to create a socket to an mp3 stream. I call the PHP script in Winamp to listen to the live music. I had to add the header "Content-type: audio/mpeg"
My script works fine but the problem is that the stream is now loaded from my web server instead of my streaming server due to the socket. I am wondering if there is another method to get PHP opening a file and adding the "Content-type: audio/mpeg" header. My goal is just to get PHP opening the streaming URL, but I want the outputted stream content to be loaded from the streaming server instead of the web server.
Any help would be very welcomed!
Macsym