Parsing vcdq dot com

Discussion in 'Black Hat SEO Tools' started by tomski, Dec 2, 2008.

  1. tomski

    tomski Newbie

    Joined:
    Nov 25, 2008
    Messages:
    22
    Likes Received:
    2
    Im a noob i'm just wondering if there's a way that I can parse this url its in an array BUT how do I parse it I cant figure it out im trying to add the info to a db.

    http://anonymizeit.com/?http://www.google.com/http://www.vcdq.com/lastx.php?type=2&num=10&genre=5

    Any help would be great.
     
  2. cool01

    cool01 Newbie

    Joined:
    Dec 3, 2008
    Messages:
    34
    Likes Received:
    7
    Code:
    <?php
    
    $isi = file_get_contents('http://www.vcdq.com/lastx.php?type=2&num=10&genre=5');
    $foo1 = explode("Array",$isi);
    $i = 0;
    
    foreach($foo1 as $value) {
      $foo2[$i] = explode("n",$value);
      foreach($foo2[$i] as $value2) {
        if(strstr($value2,"=>")) {
          $bar = explode("=>",$value2);
            $keyt = trim($bar[0]);
            $valt = trim($bar[1]);
            $keyt = str_replace('[','',$keyt);
            $keyt = str_replace(']','',$keyt);
            $res[$i][$keyt] = $valt;
        }
      }
      $i++;
    }
    print_r($res); //array start from 1
    
    ?>