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

6 lines
224 B
PHP
Raw 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);