depolamak ve php excel dosyasını indirmek

0 Cevap php

excel dosyası ve oluşturmak indir benim kodlama kontrol ediniz.

        header("Pragma: public");
        header("Expires: 0");
        header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
        header("Content-Type: application/force-download");
        header("Content-Type: application/octet-stream");
        header("Content-Type: application/download");;
        header("Content-Disposition: attachment;filename=export.xls ");
        header("Content-Transfer-Encoding: binary ");

        echo "<table style='border: 1px solid red;border-color:red' cellspacing='0'>";
        echo "<tr>";
        echo "<th style='background-color:yellow;border:1px solid red'>Link id</th><th style='background-color:yellow;border:1px solid red'>Priority</th><th style='background-color:yellow;border:1px solid red'>Year</th><th style='background-color:yellow;border:1px solid red'>Make</th><th style='background-color:yellow;border:1px solid red'>Model</th><th style='background-color:yellow;border:1px solid red'>Input URL</th><th style='background-color:yellow;border:1px solid red'>Changes Found</th><th style='background-color:yellow;border:1px solid red'>Output filename</th><th style='background-color:yellow;border:1px solid red'>No of Changes</th>";
        echo "</tr>";
        echo "</table>";

şimdiden teşekkürler

0 Cevap