1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to parse a blockked page

Discussion in 'PHP' started by eruseldarine, Jul 15, 2008.

  1. #1
    hi..

    google has blocked my hosts ip for parsing their results. i tried in other hosts and in my local host the script is working

    my code is

    <?php
    header('Content-type:text/html; charset=utf-8');
    $s = site_kaynak("http://www.google.com.tr/search?hl=tr&q=test&meta=");
    preg_match("/<div class=g>(.*?)<h2 class=r>/Us",$s,$d);
    echo "<pre>";print_r($d);
    ?>
    PHP:
    and its not parsing in my host can someone help me to by pass it.
     
    eruseldarine, Jul 15, 2008 IP
  2. mbreezy

    mbreezy Active Member

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Hmmm, proxy the proxy? Oh I dunno.

    Unless there's a way to mask your IP address on the serve, no idea.

    Google's pretty smart though, they don't necessarily waste their billions of dollars on nothing. Goodluck.
     
    mbreezy, Jul 15, 2008 IP
  3. C. Berntsen

    C. Berntsen Active Member

    Messages:
    128
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Even with a proxy their quite hard to get by, it will ask you for a human verification code unless it's an elite proxy.
     
    C. Berntsen, Jul 15, 2008 IP
  4. wowla_123

    wowla_123 Peon

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you sure that Google has blocked your IP? Are you getting any error?
     
    wowla_123, Jul 15, 2008 IP