Skip to content

Instantly share code, notes, and snippets.

@doitlikejustin
Created July 26, 2013 18:28
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 doitlikejustin/6091131 to your computer and use it in GitHub Desktop.
Save doitlikejustin/6091131 to your computer and use it in GitHub Desktop.
Check IP address if() statement
<?php if($_SERVER['REMOTE_ADDR'] == '999.999.999.999'): ?>
<?php /* HTML and other goodness goes here */ ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment