set filename properly upon downloading capture

This commit is contained in:
Scott Dale 2007-07-01 05:08:59 +00:00
parent 9aaf57ea89
commit 9f3259e081

View File

@ -95,7 +95,7 @@ if ($_POST) {
{
$fs = filesize($fp.$fn);
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=$fp.$fn");
header("Content-Disposition: attachment; filename=$fn");
header("Content-Length: $fs");
readfile($fp.$fn);
}