PHP Header Content-Type: application/octet-stream
===

Hi i want download from server a pdf

    $pdf=new PDF();
    $pdf->AddPage();
    $pdf->SetFont('Arial','',12);
    $txt="ssssiiiiiiOOOOO\n\n";
    $pdf->MultiCell(0,25,permayaps($detay),0,'J');
    $file =  $_SERVER['DOCUMENT_ROOT']."pdf/pdf_goruntuleme.php?guvenlikID=".$_GET["guvenlikID"];
    header('Content-Description: File Transfer');
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename='.basename($file));
its coming to file download but if i open its giving Broken error

CAN U HELP ME?