Skip to content

Instantly share code, notes, and snippets.

@SemanticallyNull
Created November 8, 2012 13:49
Show Gist options
  • Save SemanticallyNull/4038900 to your computer and use it in GitHub Desktop.
Save SemanticallyNull/4038900 to your computer and use it in GitHub Desktop.
<?php
var_dump(! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment