note 17707 modified in function.get-meta-tags by felipe

From: Date: Sun, 15 Jun 2008 11:56:45 +0000
Subject: note 17707 modified in function.get-meta-tags by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140461@lists.php.net to get a copy of this message
Tested PHP 4.0.6 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. Workaround: if possible move code after header or if not: include a file. --was-- 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://php.net/manual/en/function.get-meta-tags.php

« previous php.notes (#140461) next »