PHP Headers file download
Headers file download
<?php
header("Content-Encoding: AnyTrash");
header("Content-Disposition: attachment; filename=file.txt");
echo content;
?>
<?php
header("Content-Encoding: AnyTrash");
header("Content-Disposition: attachment; filename=file.txt");
echo content;
?>