PHP: Send Header to Disable X-XSS-Protection

Using PHP, how can I send a header to disable X-XSS-Protection?
LVL 16
hankknightAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Gatherer_HadeConnect With a Mentor Commented:
header("X-XSS-Protection: 0");
sorry
0
 
Gatherer_HadeCommented:
have you tried

header(“X-XSS-Protection: 0¿);
0
 
Ray PaseurCommented:
Sometimes it is all about how you ask the question:
http://lmgtfy.com?q=PHP%3A+Send+Header+to+Disable+X-XSS-Protection

See the second answer (from Stackoverflow) for a good discussion and the header command.
0
 
Ray PaseurCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.