close
?php
// 假設上邊的標簽是在 www.example.com 中
$tags = get_meta_tags('http://www.example.com/');
// 註意所有的鍵(key)均為小寫,而鍵中的‘.’則轉換成了‘_’。
echo $tags['author']; // name
echo $tags['keywords']; // php documentation
echo $tags['description']; // a php manual
echo $tags['geo_position']; // 49.33;-86.59
?>
全站熱搜