note 5249 modified in function.get-meta-tags by felipe
| From: | felipe@php.net | Date: | Sun, 20 Jul 2008 23:40:03 +0000 |
| Subject: | note 5249 modified in function.get-meta-tags by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142359@lists.php.net to get a copy of this message | ||
Something that is not mentioned above and should be : When using get_meta_tags on a remote PHP page
the page will be parsed before the meta tags are returned - so you can capture meta tags generated
dynamically (by PHP??) on the remote end.
This DOES NOT work the same way when getting meta tags on local file systems. Local files are not
parsed through the web server before returning to get_meta_tags(). If the META tag is hard-coded
into the page, you'll be fine - but if it dynamically generated you will not be able to capture
it unless you use the full URL when calling your local files.
--was--
Something that is not mentioned above and should be : When using get_meta_tags on a remote PHP page
the page will be parsed before the meta tags are returned - so you can capture meta tags generated
dynamically (by PHP??) on the remote end.
<p>
This DOES NOT work the same way when getting meta tags on local file systems. Local files are not
parsed through the web server before returning to get_meta_tags(). If the META tag is hard-coded
into the page, you'll be fine - but if it dynamically generated you will not be able to capture
it unless you use the full URL when calling your local files.
http://php.net/manual/en/function.get-meta-tags.php