-
-
Save INDIAN2020/19f5b9b83b90169fe952058f70863de0 to your computer and use it in GitHub Desktop.
function is_local()
This file contains hidden or 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 | |
| function is_local() | |
| { | |
| return ( '127.0.0.1' == $_SERVER["REMOTE_ADDR"]) ? TRUE : FALSE; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment