Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to use public IP function in PHP
<?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
You can’t perform that action at this time.