Skip to content

Instantly share code, notes, and snippets.

@kikiriko200
Last active November 11, 2018 04:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kikiriko200/7f10db5e1e587b0d0f91d85fbf8cc313 to your computer and use it in GitHub Desktop.
Save kikiriko200/7f10db5e1e587b0d0f91d85fbf8cc313 to your computer and use it in GitHub Desktop.
Get ipv6 address via PHP
$text = file_get_contents('https://v6.ident.me/');
echo $text;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment