Last active
April 12, 2017 13:46
-
-
Save juniorcesarabreu/4af347a1cd5b895780b24a01102761f1 to your computer and use it in GitHub Desktop.
pega o ip da requisição usando a variável global $_SERVER
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
// pega o ip da requisição usando a variável global $_SERVER | |
<?= $_SERVER['REMOTE_ADDR']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment