PHPRadio

This php script allows you to host your own Internet Station. Just unzip the zip file onto a folder on your web server. You will want to store your songs into the root or subdirectory of that folder. Then you will want to create the song database. On windows you just open makedb.bat file on linux execute makedb.sh(make sure to chmod +x makedb.sh first).

It choose randomly chooses a song from the database and stores the id into a cookie(so it will get a new song everytime until all the ids are used. Once that happens it resets the cookie. It even gets the Artist,song name,album name and year from the mp3 file without any libraries or add-ons. It will also check for picture file inside the album folder(album cover picture).

Published by Justin Roeder

I am an electronics engineer and computer programmer that has autism. I learned by myself

Leave a comment

Your email address will not be published. Required fields are marked *