Skip to content

Instantly share code, notes, and snippets.

@KentaroAOKI
Created October 3, 2015 12:58
Show Gist options
  • Save KentaroAOKI/84c7cf6f456c1d765b33 to your computer and use it in GitHub Desktop.
Save KentaroAOKI/84c7cf6f456c1d765b33 to your computer and use it in GitHub Desktop.
Get the IMSI of SORACOM Air using SORACOM Beam.
<?php
$headers = getallheaders();
echo "SORACOM_IMSI=" . $headers["X-Soracom-Imsi"] . "\n";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment