project for uploading media based on silex