When accepting donations using internet crypto-currency Bitcoin, one-time addresses are crucial. bitcoin-donate is a simple script written in PHP which allows for generation of these addresses via Bitcoin's JSON-RPC server, as well as selection of less anonymous multi-use addresses from a list.
How does it work?
I'll let this button do the talking: Donate using Bitcoin
Addresses are stored in a cookie on the client-side, and in a session on the server-side in order to prevent misuse by trying to overload the server with address requests.
Note that limiting the amount of requests per day per IP to
getaddress.php in the web-server is essential to maintaining a healthy Bitcoin wallet.
bitcoin-donate is free and unencumbered software released into the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors.
I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.