Skip to content

Instantly share code, notes, and snippets.

@phette23
Created October 23, 2012 20:09
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 phette23/3941218 to your computer and use it in GitHub Desktop.
Save phette23/3941218 to your computer and use it in GitHub Desktop.
PHP to Check HTTP Headers
<?
// php 5
print_r( get_headers( "http://example.com", 1 ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment