Skip to content

Instantly share code, notes, and snippets.

@pedrox86lopes
Created February 7, 2015 23:27
Show Gist options
  • Save pedrox86lopes/15c56565300121291724 to your computer and use it in GitHub Desktop.
Save pedrox86lopes/15c56565300121291724 to your computer and use it in GitHub Desktop.
`idontknow.php
<?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