dario111cro
Junior Member
- Feb 5, 2012
- 180
- 206
This is little script I made today. It will create "Google links". Example:
http://edition.cnn.com/
will become:
http://www.google.com/url?q=http://...157892&usg=AFQjCNFAJbJ-UBFNcB3uu-EfUrGlEhd6bQ
This could have many usages. For example, if you spam at facebook, this way you will have lower chance of being banned. Also, all traffic that goes over links of this type, Google will register as search traffic. Not sure, but it could even have effect on your rankings.
BHW messed code. Here it is in pastebin:
http://pastebin.com/9z5b60Sw
http://edition.cnn.com/
will become:
http://www.google.com/url?q=http://...157892&usg=AFQjCNFAJbJ-UBFNcB3uu-EfUrGlEhd6bQ
This could have many usages. For example, if you spam at facebook, this way you will have lower chance of being banned. Also, all traffic that goes over links of this type, Google will register as search traffic. Not sure, but it could even have effect on your rankings.
PHP:
<?phpif(isset($_POST['url'])) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, 'http://www.google.com/url?q='.urlencode($_POST['url'])); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_SSLVERSION, 3); curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.21 (KHTML, like Gecko) Chrome/19.0.1042.0 Safari/535.21"); $page = curl_exec($curl); $dom = new domDocument; @$dom->loadHTML($page); $dom->preserveWhiteSpace = false; $a = $dom->getElementsByTagName('a'); echo 'http://www.google.com' . $a->item(0)->getAttribute('href');} else { ?> <form method="POST"> Url: <input name="url" /> <br /><input type="submit" value="Generate url!" /> </form> <?php}?>
http://pastebin.com/9z5b60Sw
Last edited: