Currency Exchange Rates with PHP & XML

So you developed this fantastic business plan. You've started your business and you've got a web site. You're selling your product or service on the web. Everything is going great! All of a sudden, you are doing business all over the world. Your customers are now in different countries, using different currencies. How are they going to know how much something is going to cost them in their currency? Using PHP and its XML parsing capabilities, you can provide prices in many different currencies.

Okay, before we start, let's talk about some boring legal stuff. The reference rates below obtained from the European Central Bank and are based on the regular daily concertation procedure between central banks within and outside the European System of Central Banks, which normally takes place at 2.15 p.m. ECB time (CET).

The below listed currency exchange rates are examples that are updated only once daily (Monday through Friday except holidays) and believed to be correct as of the date indicated. However, as examples, these rates should not be assumed to be entirely accurate and should not be used in financial transactions. The chart below, lists the equivalent amounts that correspond to one .

Select a different base currency:

Failed to get rates

So What?

All right, showing a chart like that is a neat trick, but so what? How does that help you as a web developer? Let's say, for example, you are in the United States and your product sells for $24.95 in U.S. dollars. How much is that in U. K. pounds, or in Euros? Easy! It would be