Currency conversion on the fly

Discuss general web development questions. Help others and get help from others.

Moderator: kfury77

Currency conversion on the fly

Postby andymat » Wed Aug 05, 2009 2:59 pm

Does anyone know if there is a site on the internet which lists factors for currency conversion that is regularly updated and can be referenced as a variable in PHP calculations?

I would like to provide a ā‚¬ conversion on the basket page of my website to give an idea how much an item would cost in Euros to customers living in the Euro zone. And potentially it could progress from there - possibly selling in other currencies. It would depend on various matters.

Many thanks.
andymat
 
Posts: 12
Joined: Tue May 06, 2008 9:55 pm
Location: Darlington, UK

Re: Currency conversion on the fly

Postby MikeyB » Thu Aug 06, 2009 10:20 am

Hi,

There are a few, but most seem to cost quite a bit, but did come across this one:
http://forum.xaviermedia.com/about10979.html

You can get the latest rates in XML format, based on the Euro.
http://api.finance.xaviermedia.com/api/latest.xml
User avatar
MikeyB
Top Contributor
 
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK

Re: Currency conversion on the fly

Postby andymat » Thu Aug 06, 2009 10:38 am

Many thanks Mr B, that is pretty much what I was after.

Now comes the fun bit, incorporating it into the PHP!
andymat
 
Posts: 12
Joined: Tue May 06, 2008 9:55 pm
Location: Darlington, UK


Return to Web Developer Talk

Who is online

Users browsing this forum: No registered users and 15 guests