Skip to content

Tag: header

Pico CMS custom header

Im trying to include dynamc custom header in PicoCMS. Simple “include ‘header.php’;” wont work since the theme have only index.html file and and I cant include PHP in it. My guess is I would have to make a custom plugin for this to work but Im not shure how to do it. They have some doc…

correct PHP headers for pdf file download

I’m really struggling to get my application to open a pdf when the user clicks on a link. So far the anchor tag redirects to a page which sends headers that are: this doesn’t seem to work, has anybody successfully sorted this problem in the past? Answer Example 2 on w3schools shows what you are tr…

php email headers with MIME-Version: 1.0

I have these lines of code: I need the MIME type because I am using file_get_contents for an html file, my problem is under the headers it displays as “email@domain.comMIME-Version:1.0” and I want it just to say “email@domain.com” how do I take out the MIME type in the from displaying …