Skip to content

Instantly share code, notes, and snippets.

@strangerstudios
Created February 13, 2017 23:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strangerstudios/dc7f66c4a8057b66596be2996a88ab9e to your computer and use it in GitHub Desktop.
Save strangerstudios/dc7f66c4a8057b66596be2996a88ab9e to your computer and use it in GitHub Desktop.
Example of output from print_r($_SERVER);
Array
(
[HTTPS] => on
[SSL_TLS_SNI] => yourdomain.com
[HTTP_HOST] => yourdomain.com
[HTTP_CONNECTION] => keep-alive
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
...
[REQUEST_TIME_FLOAT] => 1487020363.194
[REQUEST_TIME] => 1487020363
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment