Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2008

    Unanswered: Preg Match problem (file get content)

    i was using google search results but suddenly they changed something and now i can not.

    php Code:

    header('Content-type:text/html; charset=utf-8');
    $s = file_get_contents("");
    preg_match("/<div class=g>(.*?)<h2 class=r>/Us",$s,$d);
    echo "<pre>";print_r($d);

    can you please tell me what is wrong
    Reply With Quote
    View Public Profile
    Send a private message to eruseldarine
    Find all posts by eruseldarine

    Links removed - pootle flump
    Last edited by pootle flump; 07-23-08 at 08:23.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts