• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Currency Converter Script - Any Ideas?

Status
Not open for further replies.
Joined
Aug 18, 2010
Posts
1,760
Reaction score
47
Does anyone knoe of the best and cheapest way to go about getting a currency converter script?

I am looking for something that shows the interbank/market rate at any given time in a table format. Ideally I would also like to have a currency converter like on xe.com.

Any feedback/suggestions would be greatly appreciated.

M
 
Thanks for the reply mate. Unfortunately that's got the gocurrency branding.

Im looking for something that would be highly customisable and useable with other features of my site.

Any other ideas?
 
Just came across this site (maybe one of yo ulot own it!):

http://www.compareholidaymoney.com/reviews/?supplier=moneycorp

I like what they have done down the right hand side with the main currency rates (flags0 and the graph. When i say I would like the data to be customisable, etc, I mean this is the sort of thing I would like to do with it.

Sorry for being such a tech noob!
 
looks very flash to me, nice work on the homepage, i guess this is custom coded and likely to be paid service?
 

Nice link, if it helps I've functioned it off for you so you can set different amounts. You could then just make a form and swap the example 15 number to a number from a user submitted form.

PHP:
<?php

// Currency Convert
function currency($from,$to,$amount)
{
$url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s='. $from . $to .'=X';
$handle = @fopen($url, 'r');

if ($handle) {
    $result = fgets($handle, 4096);
    fclose($handle);
}
$allData = explode(',',$result); /* Get all the contents to an array */
$Value = $allData[1];

return $allData[1] * $amount;
}


// call currency convert function (from currency,to currency,amount)
$amount = currency("GBP","USD",15);

// echo amount
echo $amount;
?>
 
Last edited by a moderator:
Aaron - just dropped you a quick PM. Thanks also.


Nice link, if it helps I've functioned it off for you so you can set different amounts. You could then just make a form and swap the example 15 number to a number from a user submitted form.

PHP:
<?php

// Currency Convert
function currency($from,$to,$amount)
{
$url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s='. $from . $to .'=X';
$handle = @fopen($url, 'r');

if ($handle) {
    $result = fgets($handle, 4096);
    fclose($handle);
}
$allData = explode(',',$result); /* Get all the contents to an array */
$Value = $allData[1];

return $allData[1] * $amount;
}


// call currency convert function (from currency,to currency,amount)
$amount = currency("GBP","USD",15);

// echo amount
echo $amount;
?>
 
Status
Not open for further replies.
Top Bottom