欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

PHP 的 get_meta_tags() 函数获取 HTML 的 META 信息

程序员文章站 2022-05-30 20:39:53
...
  1. //语法:
  2. //array get_meta_tags (string filename/URL [, int use_include_path])
  3. $meta_tags = get_meta_tags("example.html");
  4. print_r($meta_tags);
  5. ?>
复制代码