Created
March 6, 2015 15:12
-
-
Save nuhil/f1804640a1243855a622 to your computer and use it in GitHub Desktop.
Nginx - Get header data by PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach (getallheaders() as $name => $value) { | |
echo $name.':'.$value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment