All pastes #898785 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-10 16:41 UTC
rendered paste body

<?php

$ch =
curl_init("http://badges.del.icio.us/feeds/json/url/data?hash=e78ae83b398a321d262bb915bf8ed245");

preg_match('/total_posts":(\d+)}]/', $ch, $m);
echo $m[1];


curl_exec($ch);
curl_close($ch);
?>