I need someone to create a PHP method, which takes the following parameters
2. From currency. Like: USD, EUR etc.
3. To currency. Like: USD, EUR etc.
If provided run with the following input:
convertCurrency(100.44, "USD", "EUR", "20-04-2012")
then the method should return the value of 100.44 USD in Euros if the exchange was made on the 20th of april 2012.
I do not know which free API or webservice is the best for doing this, but one that can do this is this one: http://www.xe.com/currencytables/?from=DKK&date=2012-06-01
Before you start, please test that interface to see if you can run hundreds of queries per minute without getting blocked. In case you get blocked, then you need to find a different API/web service. I will give 10$ to the first person figuring out whether one gets blocked if utilizing xe.com.
You need to run your code on your test server and provide a simple ugly gui so I can test by just going to a url and filling in four text boxes and pressing "submit".