Skip to content

Instantly share code, notes, and snippets.

@pwenzel
Created November 20, 2012 16:08
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 pwenzel/4118858 to your computer and use it in GitHub Desktop.
Save pwenzel/4118858 to your computer and use it in GitHub Desktop.
Output Server Hostname as HTTP Header
<?php
// return host name from server for debugging purposes
header('X-App-Host: served from ' . php_uname('n'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment