Location: PHPKode > scripts > Convert Text to (X)HTML > convert-text-to-x-html/download_engine.php
<?php
header("Content-Type: text/html");
$fname = $_POST['download'];
$download = $_POST['download'];
$download = "./convert/".$download;
$size = filesize($download);
header("Content-Length: $size");
header("Content-Disposition: attachment; filename=\"$fname\"");
readfile($download);
?>
Return current item: Convert Text to (X)HTML