Created
August 14, 2017 08:34
-
-
Save Leo24/53cced58a178ec56d4596dba812479ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($_SERVER['REMOTE_ADDR'] == '<your_ip_address>'){ | |
echo "<h1>TEST</h1>"; | |
}else{ | |
echo $_SERVER['REMOTE_ADDR'] . ' not <your_ip_address>'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment