How can I get PHP to display the headers it received from a browser?

header, http, php

Solution

Try this

`print_r`($_SERVER)

It will list everything within the array

Problem

Are they all stored in `$_SERVER`? Even custom ones?

Original source