FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

How to read financial info

 


ptolomeo
I wanted to make a php script to show financial information in my webpage. Specifically I want a currence conversor, so if you put in a form an amount of money in some currency an choose from a select the currency to which you want the quantity inserted to be converted, it appears in a box, after submitting, the amount in the new currency. I wonder how do I get the conversion factors from, for example, Google finance? Please help me on that, I need that to make a module for joomla. Thanks.
rvec
you can use an xml feed like this: http://currencysource.ez-cdn.com/USD.xml
and parse it with this: http://nl2.php.net/simplexml

I'd suggest using cache to not redownload the file every time someone wants to take a look.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.