backlink script

Discussion in 'PHP' started by goodmast3r, Apr 8, 2010.

  1. #1
    goodmast3r, Apr 8, 2010 IP
  2. ps3ubo

    ps3ubo Peon

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Why not use a script that uses there site as a API (Grabs there results then puts it on your site)
     
    ps3ubo, Apr 8, 2010 IP
  3. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #3
    <?php
    $domain = "http://urhappymoney.com";
    $scrape = file_get_contents("http://www.iwebtool.com/backlink_checker?domain=".urlencode($domain));
    preg_match('~<font size="2">Total Backlinks: ([0-9]*)</font>~', $scrape, $a);
    echo $a[1];
    ?>
    PHP:
     
    danx10, Apr 8, 2010 IP