dilip
answered Apr 15 '22 00:00
put below code to at php file before sending header or content
header('X-Content-Type-Options: nosniff');
PHP has the header() function which sends the header as per need. so we are using the header function to send X-Content-Type-Options: nosniff to the browser.