Sample PHP implementation of web cinema