$data = unserialize(file_get_contents("http://www.donationstracker.com/d/2953ae366c1bb45d/e94de7382a3b5532-1-13-2-74e720de.txt
"));
echo "Current donors are ".$data['donors']."
\n";
Tuesday, November 10, 2009
Get number of donors with PHP api
Here's some sample code (use your own PHP api code as a starting point - take your own $data = line:
Labels:
php api,
sample code,
tutorial
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment