I have these lines of code in my .htaccess.
My problem is is this line of code is in my .htaccess i want to put it in my php.
I want to do is convert it to php header does anyone know how to do it?
AddType application/xml .xml .rss
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"