<?php
  header ("Content-Type: application/executable");

  $str = basename ($_SERVER ["REQUEST_URI"]);
  $str = str_replace ("download/", "", $str);
  $str = str_replace ("/", "", $str);

  readfile ("img/" . $str);

  exit;
?>
