SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there.

    I'm in the process of building an online store for a client. I'm using the superb remotely hosted cart and processing solution at www.mals-e.com

    However, they need a currency convertor, which the system doesn't offer.

    How do you suggest I implement this into the store ? Should I do a link to a pop up window of a currency converting site, if so, does anyone know of any ?

    Cheers
    James

  2. #2
    Gong!
    Join Date
    May 2000
    Location
    Helsinki, Finland
    Posts
    229
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's a pretty good currency converter at http://www.xe.net/ucc/

  3. #3
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes. I would suggest a Pop-Up.

    Howveer though, if there's a javascript solution, you could place it on the same page and let the user input the values.
    the advantage is the reuslts are shown instantly.
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  4. #4
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'd just need to update the currencies to reflect their current value at that precise time, of course
    My 2 Cents (or is that 2.2 Cents including GST?)

  5. #5
    SitePoint Addict 95 Degrees's Avatar
    Join Date
    Jan 2001
    Location
    Jamaica
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's a currency converter at www.oanda.com and I think they offer a private label choice to put on yur site, though not sure...check it out in any case. I used it once a while back.

  6. #6
    SitePoint Addict 95 Degrees's Avatar
    Join Date
    Jan 2001
    Location
    Jamaica
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes I just checked, they do offer a customized version for your site. Go to http://www.oanda.com/site/customize.shtml

  7. #7
    SitePoint Zealot Kyle_C's Avatar
    Join Date
    Apr 2001
    Location
    South Florida
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    try this one.. it's PHP .

    http://rossi.viel.org/index.php?scripts=1
    --------------------------------------------------

    #!/usr/local/bin/php -q
    <?php
    # version 0.3.0

    define("self",$argv[0]);
    if($argv[1]=="-h" || $argv[1]=="--help")phelp("",1);
    if($argv[1]=="--currencies" || $argv[1]=="-c"){
    $f=file("http://www.oanda.com/converter/classic?user=Tihan");
    while(list($k,$v)=each($f)) {
    $b.=$v;
    }
    $bb=explode("<small><SELECT",$b);
    $bbb=explode("</SELECT>",$bb[2]);
    print strstr(strip_tags($bbb[0]),"\n");
    exit;
    }


    if($argv[1]=="-n" || $argv[1]=="--numeric") {
    if(!$argv[4])phelp("too few arguments");
    $value=$argv[2];
    $from=strtoupper($argv[3]);
    $to=strtoupper($argv[4]);
    if($argv[5])$date="&date=$argv[5]&date_fmt=us";
    } else {
    if(!$argv[3])phelp("too few arguments");
    $value=$argv[1];
    $from=strtoupper($argv[2]);
    $to=strtoupper($argv[3]);
    if($argv[4])$date="&date=$argv[4]&date_fmt=us";
    }

    $f=file("http://www.oanda.com/converter/classic?value=$value&exch=$from&expr=$to&user=Tihan$date");
    while(list($k,$v)=each($f)) {
    $b.=$v;
    }
    $bb=explode("<BIG>",$b);
    $bbb=explode("</BIG>",$bb[1]);

    if($bbb[0]=="<STRONG>To</STRONG>" || !ereg("([A-z]{1,})",$bbb[0])){
    phelp("check your arguments (date wrong?)");
    } else {
    if($argv[1]=="-n" || $argv[1]=="--numeric") {
    $bbbb=explode("=",$bbb[0]);
    print ereg_replace("[A-z ,]","",$bbbb[1])."\n";
    } else {
    print $bbb[0]."\n";
    }
    }

    function phelp($h="",$hh=0) {
    if($h)print self.": $h\n";
    print "usage: ".self." [-n] amount currency-from currency-to [mm/dd/yy]\n";
    print " ".self." [-c|-h]\n";
    if($hh){
    print "-n, --numeric numeric output\n";
    print "-c, --currencies show all available currencies with abbreviations\n";
    print "-h, --help show this help\n";
    }
    exit;
    }
    ?>


  8. #8
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jeez Kyle...

    do you actually SPEAK PHP?
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  9. #9
    SitePoint Zealot Kyle_C's Avatar
    Join Date
    Apr 2001
    Location
    South Florida
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Learning it as we speak":-} Getting the concept is easy to me, but on the other hand bringing it all together is something completely deferent" With this dam “dyslexia” (no joke) like Dr Simon Clemmet , Richard Branson, Guy Hands and General George S. Patton, to name a few”. It’s more difficult to put it all together and know how to execute it the way it should be. It may take a while but one who dose not apply herself will never get anything done.

    I found that in fishmeat.and it's in PHP"


    footnote:

    Dr Simon Clemmet – At 28 years old was the British Scientist who analysed the carbon compound found in the meteorite from Mars, at Stanford University in California. He was labelled as a slow learner at school until his dyslexia was diagnosed. At the age of 11 he was awarded a grade C for science in a school report, which also said that he showed room for improvement in mathematics. Once he realised he was dyslexic at the age of 12 he flourished and grew in confidence. Even now, he cannot write a letter without the help of his computer spellcheck. He often faxes his scientific papers to his father in England who proof-reads them for spelling mistakes. He is about to complete his PhD in physical chemistry



    Guy Hands – Nomura Bank. One of the most powerful and influential men in the City of London. He is severely dyslexic and had to take the sciences rather than English at school, and was examined verbally for his degree finals. He would have liked to have been a writer or even an actor, but his pronunciation is bad too, so instead he decided to make money


  10. #10
    SitePoint Addict 95 Degrees's Avatar
    Join Date
    Jan 2001
    Location
    Jamaica
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As they say in Jamaica "'nuff respect" to you. I have a brother-in-law who will not admit to this...perhaps I will print this thread to show him...PHP is entirely achievable!

  11. #11
    SitePoint Zealot Kyle_C's Avatar
    Join Date
    Apr 2001
    Location
    South Florida
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really do appreciate that 95 Degrees” With the help of forums like this he should have no truble if he’s willing to apply himself a little hearder then the average person . It’s a pity that we are not more aware of the strengths of dyslexia. Conseder the list of famous dyslexics: scientists like Albert Einstine, inventors like Thomas Edison, business people like Richard Branson, statesmen like Winston Churchill and John Kennedy, military leaders like George Patton, sports heroes like Jacky Stewart, musicians like John Lennon, actors like Anthony Hopkins, authors like Agatha Christie, designers like Walt Disney, etc.). We see a list of people who did use their dyslexic advantages and became very successful in their field. Why not use them as inspiring models: they are living proof that dyslexia doesn’t need to be a disadvantage, but on the contrary can become even a strong advantage. These famous dyslexics proof that nurturing the dyslexic capabilities contributes to their own potential and happiness. In fact, they even contribute to a better world by using their abilities: Einstein used his imagination to come up with relativity theory; Edison used his to invent; Disney to entertain us; Churchill to rally the British against Nazi Germany; Branson and other entrepreneurs to create better products and services whilst creating employment in the process.


    Setting an example is not the main means of influencing another; it is the only means – Albert Einstein



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •