note 17707 added to function.get-meta-tags

From: Date: Thu, 20 Dec 2001 16:01:10 +0000
Subject: note 17707 added to function.get-meta-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-23362@lists.php.net to get a copy of this message
Tested PHP 4.0.6<br> 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 ...<br> Tested using get_meta_tags() on local files with about 9000 characters of PHP code before HTML HEADER.<br> Workaround: if possible move code after header or if not: include a file. -- http://www.php.net/manual/en/function.get-meta-tags.php http://master.php.net/manage/user-notes.php?action=edit+17707 http://master.php.net/manage/user-notes.php?action=delete+17707 http://master.php.net/manage/user-notes.php?action=reject+17707

« previous php.notes (#23362) next »