note 15452 deleted from function.get-meta-tags by philip
| From: | philip@php.net | Date: | Tue, 21 Jan 2003 18:56:52 +0000 |
| Subject: | note 15452 deleted from function.get-meta-tags by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42530@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...