Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom