I recently made a rather cool PHP script that streams MP3s from network machines via http.
Basically the script is dropped into a directory, then connected to via winamp (or whatever), whereby the script reads the directory, loads any files with .mp3, .wav and .wma as extensions into an array and then pics a random file and streams it.
I however want to add OGG support and can't figure out why sending the following as a header doesn't work:
Code: Select all
header("Content-type: application/ogg")Does PHP not support this header?