Whats the easiest way to have a php file which loads a mp3 file so you don't have to display the url?
e.i:
songname - artist.mp3
would look like:
mp3.php?id=1
Thanks in advance.

Whats the easiest way to have a php file which loads a mp3 file so you don't have to display the url?
e.i:
songname - artist.mp3
would look like:
mp3.php?id=1
Thanks in advance.
not sure what the actual mime type for an mp3 file is thoughPHP Code:header("Content-Type: Audio/MP3");
$lol = file_get_contents("mp3file");
echo($lol);
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
MP3 — Mime Type: audio/mpeg
According to http://linuxreviews.org/dictionary/MP3/
audio/x-mpeg-3
audio/mpeg3
I tried that first, but it only plays the first 3 seconds :SMP3 — Mime Type: audio/mpeg
According to http://linuxreviews.org/dictionary/MP3/
audio/x-mpeg-3
audio/mpeg3
Ahh, this is a good idea, because if you make a php file that reads out a music file, and if your at school where accessing MP3's are blocked, go to the PHP file and it wont be blocked![]()
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
Want to hide these adverts? Register an account for free!