GLADzTeguhID

Script Bot Auto Reaction Dan Auto Domba Path

Feb 9th, 2017
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.09 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.  *  Build with LOVE in Jakarta
  5.  *
  6.  *  fadhiilrachman@gmail.com - Fadhiil Rachman
  7.  *  reshared by LagiHITZ.com
  8.  */
  9.  
  10. header("Content-Type: text/plain");
  11.  
  12. // Hapus bagian ini bila terjadi error, Use at your own risk !!
  13. ini_set('max_execution_time', '-1');
  14. ini_set('memory_limit', '-1');
  15. ///////////////////////////////////////////////////////////////////////////////
  16. $email="YOUR_PATH_EMAIL";
  17. $password="YOUR_PATH_PASSWORD";
  18. ////
  19. $limit=20;
  20. /*
  21. KODE TYPE EMOTICON
  22.     1 = happy
  23.     2 = laugh
  24.     3 = surprise
  25.     4 = sad"
  26.     5 = love
  27. */
  28. $type=5;
  29.  
  30. $param=[
  31.     "email"     =>  $email,
  32.     "password"  =>  $password,
  33.     "limit"     =>  $limit,
  34.     "type"      =>  $type,
  35. ];
  36. $url="https://api.fadhiilrachman.id/path/respondEmoTimeline.php";
  37. $curl = curl_init();
  38. curl_setopt_array($curl, array(
  39.     CURLOPT_URL             => $url . ( $param ? '?'.http_build_query($param) : ''),
  40.     CURLOPT_RETURNTRANSFER  => 1,
  41.     CURLOPT_VERBOSE         => 0,
  42.     CURLOPT_SSL_VERIFYHOST  => 0,
  43.     CURLOPT_SSL_VERIFYPEER  => 0
  44. ));
  45. $data = curl_exec($curl);
  46. if(!$data) {
  47.     die('cUrl has been crashed');
  48.     return ;
  49. }
  50. print $data;
  51. curl_close($curl);
  52. ?>
Add Comment
Please, Sign In to add comment