×
Create a new article
Write your page title here:
We currently have 3,185 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,185Articles

    <HighlightSyntax> <?php

    1. Dollarwert in Euro, von xe.com -- mutante

    function dollar_euro() { $buffer=file_get_contents("http://www.xe.com/"); $pieces=explode("1 EUR =",$buffer);

    $pieces=explode("",$pieces[1]); $pieces=explode("",$pieces[1]); return $pieces[0]; } echo "Der Dollar kostet heute ".dollar_euro()." Euro.\n"; ?> </HighlightSyntax> edgar@cgn:~$ php dollar.php Der Dollar kostet heute 1.42784 Euro.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.