Category ‘cURL‘

 
 

cURLing Google for Fun and Profit

Here is an example of brute force engine searching. It does nothing more than perform a large number of searches in a very short time. Beware this is not a very nice thing to do and it is a terrible waste of network, and CPU resources. This is given as an example of the power of cURL. This script is written in PHP and uses the libcurl libraries.
[code lang="php"]
$base_url = "http://www.google.com/search";
$ch = curl_init();

for($i=0; $i<20; $i++) {
$url = $base_url . "?q=$i";
curl_setopt($ch, CURLOPT_URL, $url);
curl_exec($ch);
}

curl_close($ch);
?>
[/code]


Mmm, I am really impressed with NOVO coffee. Very good! Maybe it's just because I've been drinking the Folgers coffee at the office.

Just saved $290 by changing the damn radiator myself

Doh, I ran out of propane halfway through a brew session. That added an extra hour to an already long brew day.

Follow me on Twitter