SHARE
TWEET

Untitled

a guest Sep 17th, 2019 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. set_time_limit(0);
  3. ignore_user_abort(1);
  4. error_reporting(0);
  5. include 'config.php';
  6. date_default_timezone_set("Asia/Jakarta");
  7.  
  8.  
  9.            
  10. $result = mysql_query("SELECT * FROM likeforlike where action='NonActive' AND status='Not VIP' ");
  11.   while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
  12.     $m = $row['username'];
  13.         $user_id = $row['idig'];
  14.             $c = curl_init("https://www.instagram.com/".$m);
  15.     curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
  16.     curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
  17.    
  18.             curl_setopt($c,CURLOPT_SSL_VERIFYPEER,0);
  19.             curl_setopt($c,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36");
  20.             $x = curl_exec($c);
  21.             $xinfo = curl_getinfo($c);
  22.             curl_close($c);
  23.         if ($xinfo['http_code'] !== 200) {
  24.             $s = array('status' => 'error');
  25.             $s = json_encode($s);
  26.                
  27.         } else {
  28.                 $s = array('status' => 'true');
  29.             $s = json_encode($s);
  30.            
  31.         }
  32.         print_r($s);
  33.        
  34.             $hpr = json_decode($s, 1);
  35.         if ($hpr['status'] == 'error'){
  36.             echo "$m - DIE <br>";
  37.         mysql_query("DELETE FROM likeforlike WHERE `idig` = '$user_id'");
  38.             mysql_query("DELETE FROM user where `username`='$m'");
  39.         }else {
  40.             echo "$m - LIVE <br>";
  41.         }
  42.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top