0

I'm trying to set a custom X-Powered-By header in PHP. I set it at the end of my document, and it doesnt't show up when I use cURL to see the headers.

This is a snippet of my code:

<?php
header('X-Powered-By: Riverside Rocks');
die();
?>

Is there anything I am doing wrong?

1 Answers1

0

Fixed - Some file was messing everything up, it was listed in my error log and may have messed with the headers.

PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/html/includes/tracking.html:1) in /var/www/html/includes/header.php on line 5, referer: