AndreyKlipikov

Vk Gift Parser

Feb 27th, 2014
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2.     $gift_size = 48; // 196, 256
  3.     for($i = 1; $i < 619; $i++)
  4.         if ($tmp = file_get_contents("http://vk.com/images/gifts/$gift_size/$i.png"))
  5.             file_put_contents("$gift_size/$i.png", $tmp);
Advertisement
Add Comment
Please, Sign In to add comment