dimanche 25 septembre 2016

php fwrite doesn't work

I want to try the fwrite funktion in php but the script below doesn't work

    <html>
    <head>
        <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
        <title>Z&auml;hler</title>
    </head>
    <body>
    <?php
    echo "nummer 1";

    $file = fopen("count.txt", "a");
    fwrite($file, "test");
    fclose($file);
    ?>

    </body>
    </html>

I Looked for more than one hour but I couldn't fint the mistake

Please help




Aucun commentaire:

Enregistrer un commentaire