Skip to content

Instantly share code, notes, and snippets.

@caffeinewriter
Created May 2, 2013 05:29
Show Gist options
  • Save caffeinewriter/5500311 to your computer and use it in GitHub Desktop.
Save caffeinewriter/5500311 to your computer and use it in GitHub Desktop.
<?PHP
$url = "http://abitcoinsite.com/"; //Site Url
$metatags = get_meta_tags($url); //Get ALL the tags
$btcaddr = $metatags['bitcoin']; //Get just the Bitcoin tag
echo $btcaddr; //Echo it out. Boom.
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment