Is it possible to get the http headers of the current request with PHP? I am not using Apache as the web-server, but using nginx.
I tried using
This should work: