note 15452 added to function.get-meta-tags
| From: | henriqin-solution dot de at php2 dot chek dot com | Date: | Tue, 11 Sep 2001 12:22:35 +0000 |
| Subject: | note 15452 added to function.get-meta-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17898@lists.php.net to get a copy of this message | ||
if you recently updated your php-version 4.04> and you then get the "warning - success"
error with fopen() or get_meta_tags(), while opening an URL, check if the URl ends with an Slash.
Took me some time to find out..
http://www.in-solution.de doesnt work
but http://www.in-solution.de/ works
If you don't know if the URl has the proper Slash try this:
$metatags = @get_meta_tags("$url",1);
if (!$metatags) $metatags=@get_meta_tags("$url/",1);
Semms to work fine
fopen() has the same problem sinc 4.05...
http://www.php.net/manual/en/function.get-meta-tags.php