Skip to content

Instantly share code, notes, and snippets.

@TheLastCicada
Last active May 20, 2016 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheLastCicada/1cec05ac1588d9ddb309fb865f4cfd51 to your computer and use it in GitHub Desktop.
Save TheLastCicada/1cec05ac1588d9ddb309fb865f4cfd51 to your computer and use it in GitHub Desktop.
Print http headers in PHP
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