<?php
$fuck = $_GET["fuck"];
function grabbing($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($data, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($data, CURLOPT_URL, $url);
$output = curl_exec($data);
curl_close($data);
return $output;
}
$ambilhtml = grabbing("https://twitter.com/".$fuck."");
$filter = explode('{"id":', $ambilhtml);
$filterakhir = explode(',', $filter[1]);
$jancok = $filterakhir[0];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.nambahfollowers.com/submit.php");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
$data = array(
'follow' => $jancok
);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$output = curl_exec($ch);
$info = curl_getinfo($ch);
echo $output;
curl_close($ch);
echo "Selesai";
?>