I donate money to the American Diabetes Association and the American Cancer Society (two diseases that have affected my life). I also support many charitible causes through my entry fee in organized rides. I've never participated in any dollars-per-mile event. I'd rather just pay my fee and be done with it, rather than asking other people for money.
Here's Sheldon Brown's take:
http://sheldonbrown.com/thons.html