How to send php headers?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
fripsy
New Member
New Member
Posts: 3
Joined: Wed Jun 01, 2016 9:42 am

How to send php headers?

Post by fripsy »

Hi All,

Some pages from my site need to be displayed on another site in an i-frame. As this is blocked by the "X-Frame-Options:SAMEORIGIN" header, I need to change that header on only those pages.

I know how to send php headers, I just don't have a clue as to where I should insert that header.

Thanks.

PS. I tried inserting at the beginning of the template, but there seems a lot of stuff going on before the template is called...
Post Reply

Return to “The Lounge”