Created
January 25, 2012 11:47
-
-
Save chriswhitcombe/1675921 to your computer and use it in GitHub Desktop.
PHP to show how they attach your mobile number in http headers
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 | |
foreach($_SERVER as $header => $value){ | |
if(ereg('HTTP_(.+)',$header,$hp)){ | |
echo "<li>$header = $value</li>"; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment