website_jukni/pastebin/themes/default/views/view/download.php

6 lines
224 B
PHP
Raw Permalink Normal View History

<?php
header('Content-type: text/plain');
header('Content-disposition: attachment');
//todo: nice filename header('Content-disposition: attachment;filename=' . $title . '.' . $lang_code);
echo htmlspecialchars_decode($raw);