Файловый менеджер - Редактировать - /var/www/fetish/scrape/poopeecomment.php
Назад
<?php foreach (range(1, 2670) as $i) { echo $i."\r\n"; post($i); } function post($id) { //extract data from the post //set POST variables $url = 'http://poopeegirls.com/v-2670-pooping-girl-in-japanese-toilet-3.html'; $fields = array( 'name' => 'More FREE poop videos - No Ads', 'text' => 'Live chat for FREE, NO SIGNUP with pooping girls here - poofetish․com', //'More videos with shitting girls here - poofetish․com'; 'post' => $id, 'pic' => '0', 'submit' => 'Submit' ); //url-ify the data for the POST foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); //open connection $ch = curl_init(); //set the url, number of POST vars, POST data curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); //curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_USERAGENT, 'api'); curl_setopt($ch, CURLOPT_TIMEOUT, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, false); curl_setopt($ch, CURLOPT_FORBID_REUSE, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 1); curl_setopt($ch, CURLOPT_DNS_CACHE_TIMEOUT, 10); curl_setopt($ch, CURLOPT_FRESH_CONNECT, true); //execute post $result = curl_exec($ch); //close connection curl_close($ch); } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.0.33-0ubuntu0.16.04.16 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка