Parsing vcdq dot com

tomski

Newbie
Nov 25, 2008
22
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.
 
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

?>
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock