In which file should I write the php header() function?
-
Hello,
I’m solving an issue with downloading a PDF file that the browser tends to open instead of downloading it. I found that it could force using the PHP header() function, but I don’t know what file to write it to? Not to wp-config.php?
Please help
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘In which file should I write the php header() function?’ is closed to new replies.