Files
ventas_php/download.php

5 lines
162 B
PHP
Executable File

<?php
header('Content-disposition: attachment; filename='.$_GET["file"]);
header('Content-type: application/octet-stream');
readfile(urldecode($_GET["file"]));
?>