Created
November 2, 2020 05:43
-
-
Save sanasol/c7cce1fe27b581301ffb048b284787d3 to your computer and use it in GitHub Desktop.
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 | |
echo implode('<br>', [ | |
$_SERVER['REMOTE_ADDR'], | |
$_SERVER['HTTP_X_REAL_IP'], | |
$_SERVER['HTTP_X_FORWARDED_FOR'], | |
$_SERVER['HTTP_CLIENT_IP'], | |
$_SERVER['HTTP_CF_CONNECTING_IP'], | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment