Here is a sample code for increasing your website view...and youtube .etc. just change the url variable with your webpage or youtube url... and see what is happening. for working you have to create a proxy.txt file in same folder as this and copy some ip's from http://hidemyass.com/proxy- list/. while copying ip's you should ensure that ip you have copied has maximum speed.
put ip's integrated with port numbers like this:-
<?php
$curl = curl_init();
$timeout = 30;
$proxies = file("proxy.txt");
$r="http://www.youtube.com/your video";
// Not more than 2 at a time
for($x=0;$x<25; $x++){
//setting time limit to zero will ensure the script doesn't get timed out
set_time_limit(5);
//now we will separate proxy address from the port
//$PROXY_URL=$proxies[$getrand[$ x]];
echo $proxies[$x];
curl_setopt($curl, CURLOPT_URL,$r);
curl_setopt($curl , CURLOPT_PROXY , $proxies[$x]);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5");
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($curl, CURLOPT_REFERER, "http://google.com/");
$text = curl_exec($curl);
echo "Hit Generated:";
echo $x;
}
?>
put ip's integrated with port numbers like this:-
41.75.201.146:80 118.97.116.17:8118 199.168.138.52:3128 190.254.196.211:3128 202.29.242.123:3128 123.201.100.121:1080 116.90.208.30:8080
here for the first ip
41.75.201.146:80
41.75.201.146 is the proxy ip and 80 is the port number.
<?php
$curl = curl_init();
$timeout = 30;
$proxies = file("proxy.txt");
$r="http://www.youtube.com/your video";
// Not more than 2 at a time
for($x=0;$x<25; $x++){
//setting time limit to zero will ensure the script doesn't get timed out
set_time_limit(5);
//now we will separate proxy address from the port
//$PROXY_URL=$proxies[$getrand[$
echo $proxies[$x];
curl_setopt($curl, CURLOPT_URL,$r);
curl_setopt($curl , CURLOPT_PROXY , $proxies[$x]);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5");
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($curl, CURLOPT_REFERER, "http://google.com/");
$text = curl_exec($curl);
echo "Hit Generated:";
echo $x;
}
?>
this is a working code and has given effective results. just do it.....
No comments:
Post a Comment