

<?php $curl_handle=curl_init(); curl_setopt($curl_handle,CURLOPT_URL,'http://alltheweb.com/search?advanced=1&cat=img&cs=iso88591&q=surfing&itag=crv&if%5B%5D=jpg&it%5B%5D=col&ibt=all&nooc=on'); curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2); curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER,1); $buffer = curl_exec($curl_handle); curl_close($curl_handle); if (empty($buffer)) { print "Sorry, example.com are a bunch of poopy-heads.<p>"; } else { print $buffer; } ?>

