Ok,

I have set it up so that when someone makes a donation, hawk will visit 
the URL:

http://freenetproject.org/donationreport.php?donation=1234

Where '1234' is the amount of the donation.

Here is the skeleton PHP:
<?php
// Ensure that the request comes from hawk
if ($REMOTE_ADDR == "68.65.221.46")  {
    echo("Donation of \$$donation received\n");
    } else {
    echo("Donation failed - not authorized\n");
    }
?>

Can we have a volunteer to write a PHP script based on the above
(runnable on SF) which will create/update an image or some-such thing to
indicate how much cash is in our coffers at any given time based on
this? Given the number of times people have asked for this, I am sure
there will be no shortage of volunteers ;-]

Ian.

-- 
Ian Clarke                                                  [EMAIL PROTECTED]
Coordinator, The Freenet Project              http://freenetproject.org/
CEO, Cematics LLC                                   http://cematics.com/
Founder, Locutus                                        http://locut.us/
Personal Homepage                                   http://locut.us/ian/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to