@Morrus Will you post a link to your completed tool?
I do PHP as well, this is a tool of mine. I'm sure you'll recognize this Fantasy Coin Calculator from an old Dragon Magazine article.
Which brings up a question of my own, have there been any newer articles like Coins in a Coffer? I...