Skip to content

Instantly share code, notes, and snippets.

@chriswhitcombe
Created January 25, 2012 11:47
Show Gist options
  • Save chriswhitcombe/1675921 to your computer and use it in GitHub Desktop.
Save chriswhitcombe/1675921 to your computer and use it in GitHub Desktop.
PHP to show how they attach your mobile number in http headers
<?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