1 2 3 4 5 6 7
<?php header("X-Sendfile: " . getcwd() . "/index.txt"); if ($_GET["range"]) header("X-Sendfile-Range: " . $_GET["range"]); ?>