daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Aug 13th, 2016 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. require_once('fungsi.php');
  3. require_once("data.php");
  4. echo"Pembersihan Member $title<br/>";
  5.   $get1 = mysql_query("SELECT * from user");
  6.   while ($get = mysql_fetch_array($get1)){
  7.   $ua = $get['ua'];
  8.   $cok = $get['cok'];
  9.   $id = $get['idnya'];
  10.   $nomor = $get['id'];
  11.   $password = $get['password'];
  12.   $username = $get['username'];
  13.   $test = proccess(1, $ua, 'feed/timeline', $cok);
  14.   $test = json_decode($test[1]);
  15.   if($test->status != "ok"){
  16.   mysql_query("DELETE from user where id='$nomor'");
  17.   echo "$username <b>-> <font color='red'>User Tidak Aktif</font> </b></br>";
  18.   flush();
  19.   } else {
  20.   echo "$username <b>-> <font color='green'>User Aktif</font> </b></br>";
  21.   flush();
  22.   }
  23.   }
  24.   $get2 = mysql_query("SELECT * from user");
  25.   $sisa = mysql_num_rows($get2);
  26.   echo "<b>Sisah member : <font color='blue'>$sisa akun</font></b>";
  27. ?>
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
 
Top