Quote:
Originally Posted by Ocean
I'm having a problem. When I try to download a Thread, the file name defaults to something like "dt.php?t=14".
The Thread Title has nothing strange about it - we're talking about titles like "Smilie Test".
|
Have you hacked dt.php? Is the lines around 100 is like that:
PHP Code:
$thread[title] = unhtmlspecialchars($thread[title]);
$filename=preg_replace("/[.&!:\\\?\^\'\"\$]/", '', $thread[title]);
if (strlen(trim($filename))<2) {$filename='Thread'.$threadid;}
header("Content-disposition: attachment;filename=".$filename.".txt");