shell bypass 403
<?php $file = 'images/map.pdf'; // fix for IE catching or PHP bug issue header("Pragma: public"); header("Expires: 0"); // set expiration time header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); // browser must download file from server instead of cache // force download dialog header("Content-Type: application/force-download"); header("Content-Type: application/octet-stream"); header("Content-Type: application/download"); header("Content-Disposition: attachment; filename=" . basename($file) . ";"); header("Content-Transfer-Encoding: binary"); header("Content-Length: " . filesize($file)); @readfile($file); exit(0); ?>