php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4556 get_meta_tags - ( Fix supplied in this bug report )
Submitted: 2000-05-23 01:00 UTC Modified: 2001-02-10 21:40 UTC
From: c dot just at phoenixdigital dot com Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0 Latest CVS (23/05/2000) OS: ALL ( Bug in source code )
Private report: No CVE-ID:
 [2000-05-23 01:00 UTC] c dot just at phoenixdigital dot com

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-30 00:09 UTC] zak@php.net
Confirmed bug using win2k, apache 1.3.12, php 4.0.1rc2
This should be a trivial fix :)
 [2000-08-17 03:03 UTC] sniper@php.net
Just tried get_meta_tags() with latest-CVS. And it didn't work at all..

--Jani
 [2000-08-17 04:54 UTC] stas@php.net
What didn't work at all? Could you please give a reproducing example?
 [2000-08-17 11:06 UTC] sniper@php.net
Oops, forgot to add that example:

<?php
$metas = get_meta_tags("http://kolumbus.fi",1);
print_r($metas);
?>

And this prints out:

array(0) { } 

And there are metas in that page..

--Jani
 [2000-08-17 11:12 UTC] stas@php.net
That page doesn't have metatags. It has META HTTP-EQUIV's, which are entirely different matter, and, in fact, nobody needs them. But get_meta_tags should be rewritten anyway (just like url_scanner was), because it doesn't get too much cases.
 [2000-08-17 16:22 UTC] sniper@php.net
Damn. Here's one which definately has metatags:

<?php
$metas = get_meta_tags("http://www.zend.com",1);
print_r($metas);
?>

And it doesn't work.

--Jani
 [2001-02-10 21:40 UTC] elixer@php.net
Fixed in CVS, please give it a whirl.

Sean
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 10:03:03 2014 UTC