Created
February 7, 2015 23:27
-
-
Save pedrox86lopes/15c56565300121291724 to your computer and use it in GitHub Desktop.
`idontknow.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 | |
header('Content-Type: text/plain'); | |
echo "Server IP: ".$_SERVER['SERVER_ADDR']; | |
echo "\nClient IP: ".$_SERVER['REMOTE_ADDR']; | |
echo "\nX-Forwarded-for: ".$_SERVER['HTTP_X_FORWARDED_FOR']; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment