Created
February 11, 2020 08:15
-
-
Save webtechriser/1feb8c02ed1652f27460a64d6672efad to your computer and use it in GitHub Desktop.
How to use public IP function in PHP
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( clear_from_blocked_ips() ) : ?> | |
<script> | |
alert('This content is not blocked for your IP address'); | |
</script> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment