All pastes #471742 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-05 03:12 UTC
rendered paste body
<?php
$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, ‘http://syndicate.rightbump.com/frontpage/parsed’);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
// display file
echo $file_contents;
?>