i'm creating a simple media server using html 5 and php