<?php if (!isset($_GET['removed'])) { $id = $_GET['id']; $files->remove($id); header("Location: ?p=f&a=r&removed"); } ?>