PHP下載文件代碼

header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
            header("Pragma: can-cache");
            header("Content-disposition: attachment;filename=".$name);
            header("Content-type: application/unknown");
            $file = fopen($path, "r");
            fpassthru($file);app

相關文章
相關標籤/搜索