On Tue, Aug 07, 2012 at 06:28:13PM -0700, Steven Leite wrote:
> Hello Dev's,
>
> Need a bit of help. I want to add/inject this php to my page output:
>
> header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS
> OUR IND CNT"');
>
> Adding stuff to $HTMLHeaderFmt won't work, as this is technically
> HTML, and it's process after the call to header();
You're looking for $HTTPHeaders, not $HTMLHeaderFmt:
$HTTPHeaders[] = 'P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD
IVAi IVDi CONi HIS OUR IND CNT";
$HTMLHeaderFmt gives the things to be placed in the HTML <head>
section. $HTTPHeaders gives the things to be sent via header()
commands.
Pm
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel