<?php

# This code is the only thing
# that should belong in the PHP
# document

$file = $_GET['image'];
header('Content-Type: image/jpeg');
header('content-disposition: attachment; filename=' . $file . '');
echo file_get_contents($file);

?>
	
    
  