Preg match and Meta tags problem!

Discussion in 'PHP' started by Freewebspace, Jun 18, 2007.

  1. #1
    I have a script that would get meta tags for a site in my directory!

    I have a problem my script only gets meta contents in the case 2 below and

    it does get the contents in meta tags for the case 1


    This is the sample of the code I used to get meta tags


    how should I change the code?
    case 1:
    case 2;
     
    Freewebspace, Jun 18, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Jun 18, 2007 IP
  3. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #3
    cause we can! haha that's no excuse though. nico is right, get_meta_tags() is where it's at.
     
    ansi, Jun 18, 2007 IP
  4. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #4
    I forget look into php.net!

    Also if there is any other function to get title of a webiste?
     
    Freewebspace, Jun 18, 2007 IP
  5. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #5
    nico_swd, Jun 18, 2007 IP