Php download file header

header ("Cache-Control: public");
header ("Pragma: public");
header ("Content-type:application/vnd.ms-excel");
header ("Content-Disposition:attachment;filename=". $name. ".xlsx");
header ("Content-Type:APPLICATION/OCTET-STREAM");
can anyone explain the role of these parameters in general? Thank you

Php
Mar.14,2021

Headers


header( "Cache-Control: public" );//:
header( "Pragma: public" ); //http1.0
header("Content-type:application/vnd.ms-excel");//Excel
header("Content-Disposition:attachment;filename=".$name.".xlsx");//
header('Content-Type:APPLICATION/OCTET-STREAM');//
For more information, please see https://developer.mozilla.org.

on the first floor.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b4484c-2c704.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b4484c-2c704.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?