Bug #14623: get_meta_tags only looks in begin of file
| From: | jeroen at zwolnet dot com | Date: | Thu, 20 Dec 2001 15:59:01 +0000 |
| Subject: | Bug #14623: get_meta_tags only looks in begin of file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74596@lists.php.net to get a copy of this message | ||
From: jeroen@zwolnet.com
Operating system: linux
PHP version: 4.0.6
PHP Bug Type: Strings related
Bug description: get_meta_tags only looks in begin of file
get_meta_tags() seems to look only in the beginning of a file, meaning that
e.g. if there is a lot of PHP code before the HTML header it will return
nothing ...
Tested using get_meta_tags() on local files with about 9000 characters of
PHP code before HTML HEADER.
Might be by design (speed), but then a warning is needed in doc: when
adding working code, things (get_meta_tags()) stop working ...
Workaround: if possible move code after header or if not include a file
:(
--
Edit bug report at: http://bugs.php.net/?id=14623&edit=1