函数:get_meta_tags()
get_meta_tags
抽出文件所有 meta 标记的资料。
语法: array get_meta_tags(string filename, int [use_include_path]);
返回值: 数组
函数种类: 资料处理
|
| |
| 内容说明 |
本函数将 homepage 中的所有 <meta ......> 标记的资料取出并放置数组变量返回。例如
<html> <head> <meta name="author" content="彭武兴"> <meta name="title" content="PHP BIBLE"> <title>PHP BIBLE</title> </head><!-- 本函数处理只到这儿结束 -->
本函数找出 meta 标记,name 属性的字符串为数组索引,而 content 属性字符串则为数组的内容资料了。治募
责任编辑:rongsijing




