September 2001
Intermediate to advanced
768 pages
32h 45m
English
array get_meta_tags(string filename_or_url, [int use_include_path])
| filename_or_url | Filename or URL from which to get meta tags |
| use_include_path | Whether to search the include path for the filename |
Extracts the meta tag information from a file or URL.
Returns:
Associative array; FALSE on error
Description:
get_meta_tags() parses the meta tag information from a file or URL. Parsing stops when the closing head tag (</head>) is encountered.
Tag information is returned as an associative array. The keys of the array correspond to the name attributes of the meta tags, and the values of the array correspond to the content attributes. If the filename_or_url argument contains a relative filename and use_include_path is set to 1, PHP ...
Read now
Unlock full access