Last active
May 20, 2016 23:53
-
-
Save TheLastCicada/1cec05ac1588d9ddb309fb865f4cfd51 to your computer and use it in GitHub Desktop.
Print http headers in 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
header('Cache-Control: private, max-age=0, no-cache'); // no caching on the php page | |
echo '<pre>'; | |
print_r($_SERVER); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment