Created
November 21, 2019 23:01
-
-
Save coulterpeterson/51cbba24ce80191edf2d2628d3441bb3 to your computer and use it in GitHub Desktop.
#PHP only run on my IP address
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"]=='111.111.111.111') | |
{ | |
//run only my ip | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment