Open GoogleCodeExporter opened 9 years ago
Original comment by baron.schwartz
on 20 Jan 2010 at 3:10
Most of the changes are copy/paste. In the last release I re-implemented the
cache-file functionality and changed things a lot, so most of it doesn't apply
anymore and/or I've already duplicated the work :-( However, getting stats by
curl
is something I want to integrate.
Summary was: Integrate changes from Artur Kaszuba
Original comment by baron.schwartz
on 21 Mar 2010 at 3:44
The main bit of code here is this:
function get_url_by_curl($url, $auth=null) {
$c = curl_init();
if ($auth) {
curl_setopt($c, CURLOPT_USERPWD, $auth);
curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
}
curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($c, CURLOPT_URL, $url);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
$ret = curl_exec($c);
curl_close($c);
return $ret;
}
Original comment by baron.schwartz
on 21 Mar 2010 at 4:00
Removing unused labels.
Original comment by baron.schwartz
on 16 Apr 2010 at 2:14
Original issue reported on code.google.com by
baron.schwartz
on 20 Jan 2010 at 3:08